aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/inode.h
diff options
context:
space:
mode:
authorGravatar Kent Overstreet <kent.overstreet@gmail.com> 2019-03-31 17:37:30 -0400
committerGravatar Kent Overstreet <kent.overstreet@linux.dev> 2023-10-22 17:08:19 -0400
commit6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d (patch)
treec4669543a1d97bfef05dd3f6e284d12f2e02986b /fs/bcachefs/inode.h
parentbcachefs: Caller now responsible for calling mark_key for gc (diff)
downloadlinux-6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d.tar.gz
linux-6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d.tar.bz2
linux-6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d.zip
bcachefs: Fsck locking improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.h')
-rw-r--r--fs/bcachefs/inode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h
index 07d7020f230d..ada639c06619 100644
--- a/fs/bcachefs/inode.h
+++ b/fs/bcachefs/inode.h
@@ -60,8 +60,9 @@ int bch2_inode_create(struct bch_fs *, struct bch_inode_unpacked *,
int bch2_inode_rm(struct bch_fs *, u64);
-int bch2_inode_find_by_inum(struct bch_fs *, u64,
- struct bch_inode_unpacked *);
+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 *);
static inline struct bch_io_opts bch2_inode_opts_get(struct bch_inode_unpacked *inode)
{