summaryrefslogtreecommitdiff
path: root/fs/bcachefs/inode.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-20 21:05:31 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 19:18:38 +0300
commit55c11a159d3ca4ca7f9d5c1275d0768474b12195 (patch)
tree414983a187d9ebe96bcc39648d080ced7f0f2fc4 /fs/bcachefs/inode.h
parent96a363a7e68832054f2a93249335fd3efd870aa3 (diff)
downloadlinux-55c11a159d3ca4ca7f9d5c1275d0768474b12195.tar.xz
bcachefs: bch2_inum_opts_get()
New helper for new rebalance code Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.h')
-rw-r--r--fs/bcachefs/inode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/inode.h b/fs/bcachefs/inode.h
index a7464e1b6960..2781e3281583 100644
--- a/fs/bcachefs/inode.h
+++ b/fs/bcachefs/inode.h
@@ -200,6 +200,7 @@ void bch2_inode_nlink_dec(struct btree_trans *, struct bch_inode_unpacked *);
struct bch_opts bch2_inode_opts_to_opts(struct bch_inode_unpacked *);
void bch2_inode_opts_get(struct bch_io_opts *, struct bch_fs *,
struct bch_inode_unpacked *);
+int bch2_inum_opts_get(struct btree_trans*, subvol_inum, struct bch_io_opts *);
int bch2_inode_rm_snapshot(struct btree_trans *, u64, u32);
int bch2_delete_dead_inodes(struct bch_fs *);