diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-29 13:49:34 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:20 -0400 |
commit | d248ee5637d4cc7952e9e2ad5a6a9099b2d54c48 (patch) | |
tree | ea771f503657547c27ed1572ca9a532202204e6c /fs/bcachefs/btree_update.h | |
parent | 200472e91c6c6745e6ddf42d1b33265f84b26e68 (diff) | |
download | linux-d248ee5637d4cc7952e9e2ad5a6a9099b2d54c48.tar.gz linux-d248ee5637d4cc7952e9e2ad5a6a9099b2d54c48.tar.bz2 linux-d248ee5637d4cc7952e9e2ad5a6a9099b2d54c48.zip |
bcachefs: Add iter_flags arg to bch2_btree_delete_range()
Will be used by the new snapshot tests, to pass in
BTREE_ITER_ALL_SNAPSHOTS.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/btree_update.h')
-rw-r--r-- | fs/bcachefs/btree_update.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update.h b/fs/bcachefs/btree_update.h index a61b64fc0859..7d16c35112f3 100644 --- a/fs/bcachefs/btree_update.h +++ b/fs/bcachefs/btree_update.h @@ -63,7 +63,7 @@ int bch2_btree_insert(struct bch_fs *, enum btree_id, struct bkey_i *, int bch2_btree_delete_range_trans(struct btree_trans *, enum btree_id, struct bpos, struct bpos, unsigned, u64 *); int bch2_btree_delete_range(struct bch_fs *, enum btree_id, - struct bpos, struct bpos, u64 *); + struct bpos, struct bpos, unsigned, u64 *); int bch2_btree_node_rewrite(struct btree_trans *, struct btree_iter *, struct btree *, unsigned); |