diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-09-10 22:05:50 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:12 -0400 |
commit | da187cacb8a59e668ce716214865612ae3921e91 (patch) | |
tree | ef9d61306adae75d49de8d6e497eea74f531a417 /fs/bcachefs/inode.h | |
parent | c7afec9bd63dc00047c35f9b747aa2be505533e6 (diff) |
bcachefs: Kill missing inode warnings in bch2_quota_read()
bch2_quota_read(), when scanning for inodes, may attempt to look up
inodes that have been deleted in the main subvolume - this is not an
error.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.h')
-rw-r--r-- | fs/bcachefs/inode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h index 22b24405649f..a7464e1b6960 100644 --- a/fs/bcachefs/inode.h +++ b/fs/bcachefs/inode.h @@ -118,6 +118,9 @@ int bch2_inode_create(struct btree_trans *, struct btree_iter *, int bch2_inode_rm(struct bch_fs *, subvol_inum); +int bch2_inode_find_by_inum_nowarn_trans(struct btree_trans *, + subvol_inum, + struct bch_inode_unpacked *); int bch2_inode_find_by_inum_trans(struct btree_trans *, subvol_inum, struct bch_inode_unpacked *); int bch2_inode_find_by_inum(struct bch_fs *, subvol_inum, |