summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/dirent.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-03-31 23:37:30 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:08:19 +0200
commit6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d (patch)
treec4669543a1d97bfef05dd3f6e284d12f2e02986b /fs/bcachefs/dirent.h
parentbcachefs: Caller now responsible for calling mark_key for gc (diff)
downloadlinux-6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d.tar.xz
linux-6bd1305735bc4346e0ca6cc0ff27517e8bab8f0d.zip
bcachefs: Fsck locking improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/dirent.h')
-rw-r--r--fs/bcachefs/dirent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/dirent.h b/fs/bcachefs/dirent.h
index 7b47573dcc46..bc64718a7832 100644
--- a/fs/bcachefs/dirent.h
+++ b/fs/bcachefs/dirent.h
@@ -55,6 +55,7 @@ int bch2_dirent_rename(struct btree_trans *,
u64 bch2_dirent_lookup(struct bch_fs *, u64, const struct bch_hash_info *,
const struct qstr *);
+int bch2_empty_dir_trans(struct btree_trans *, u64);
int bch2_empty_dir(struct bch_fs *, u64);
int bch2_readdir(struct bch_fs *, struct file *, struct dir_context *);