diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-03-08 03:43:21 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:08:53 +0200 |
commit | fe38b720862204595f7b56b8db98ea5074c83f82 (patch) | |
tree | b43547886b0164f330e7da62d2982fa9a048fee1 /fs/bcachefs/inode.h | |
parent | bcachefs: Don't call into journal reclaim when we're not supposed to (diff) | |
download | linux-fe38b720862204595f7b56b8db98ea5074c83f82.tar.xz linux-fe38b720862204595f7b56b8db98ea5074c83f82.zip |
bcachefs: Don't use inode btree key cache in fsck code
We had a cache coherency bug with the btree key cache in the fsck code -
this fixes fsck to be consistent about not using it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/inode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h index dbdfcf63d079..1caf036ae928 100644 --- a/fs/bcachefs/inode.h +++ b/fs/bcachefs/inode.h @@ -73,6 +73,8 @@ int bch2_inode_create(struct btree_trans *, struct bch_inode_unpacked *); int bch2_inode_rm(struct bch_fs *, u64, bool); +int __bch2_inode_find_by_inum_trans(struct btree_trans *, u64, + struct bch_inode_unpacked *, unsigned); int bch2_inode_find_by_inum_trans(struct btree_trans *, u64, struct bch_inode_unpacked *); int bch2_inode_find_by_inum(struct bch_fs *, u64, struct bch_inode_unpacked *); |