summaryrefslogtreecommitdiff
path: root/fs/bcachefs/lru.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-17 11:11:39 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:29 +0300
commit5add07d56a5e714a6ac1bedffa9b999d2966708c (patch)
tree7d4c7598720b8606a887f55431b0fd1f41a351bf /fs/bcachefs/lru.h
parentcaece7fe3f1199f0da42b4537434166f99f0c11f (diff)
downloadlinux-5add07d56a5e714a6ac1bedffa9b999d2966708c.tar.xz
bcachefs: Fsck for need_discard & freespace btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.h')
-rw-r--r--fs/bcachefs/lru.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/lru.h b/fs/bcachefs/lru.h
index c3121cfee285..4db6a8399332 100644
--- a/fs/bcachefs/lru.h
+++ b/fs/bcachefs/lru.h
@@ -12,4 +12,6 @@ void bch2_lru_to_text(struct printbuf *, struct bch_fs *, struct bkey_s_c);
int bch2_lru_change(struct btree_trans *, u64, u64, u64, u64 *);
+int bch2_check_lrus(struct bch_fs *, bool);
+
#endif /* _BCACHEFS_LRU_H */