diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-17 06:56:07 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 23:10:08 +0200 |
commit | 8e992c6c1f3869d0b33c754d4b6730603d3586c4 (patch) | |
tree | 41f0e165a277f49ea6798c40d770d21bb1b64546 /fs/bcachefs/btree_update.h | |
parent | bcachefs: move inode triggers to inode.c (diff) | |
download | linux-8e992c6c1f3869d0b33c754d4b6730603d3586c4.tar.xz linux-8e992c6c1f3869d0b33c754d4b6730603d3586c4.zip |
bcachefs: bch2_btree_bit_mod()
New helper for bitset btrees.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update.h')
-rw-r--r-- | fs/bcachefs/btree_update.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_update.h b/fs/bcachefs/btree_update.h index 256da97f721c..f5700c286b9e 100644 --- a/fs/bcachefs/btree_update.h +++ b/fs/bcachefs/btree_update.h @@ -72,6 +72,8 @@ int bch2_btree_delete_range_trans(struct btree_trans *, enum btree_id, int bch2_btree_delete_range(struct bch_fs *, enum btree_id, struct bpos, struct bpos, unsigned, u64 *); +int bch2_btree_bit_mod(struct btree_trans *, enum btree_id, struct bpos, bool); + int bch2_btree_node_rewrite(struct btree_trans *, struct btree_iter *, struct btree *, unsigned); void bch2_btree_node_rewrite_async(struct bch_fs *, struct btree *); |