diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-12-31 16:17:42 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:33 -0400 |
commit | 2d594dfb5357ee133bd4cb04512c2dea65ec3104 (patch) | |
tree | 1924a60dcfff408842460aca8e31af5d401c3bb8 /fs/bcachefs/migrate.c | |
parent | 54e86b581306295444ba149bf20106ce518b425f (diff) | |
download | linux-stable-2d594dfb5357ee133bd4cb04512c2dea65ec3104.tar.gz linux-stable-2d594dfb5357ee133bd4cb04512c2dea65ec3104.tar.bz2 linux-stable-2d594dfb5357ee133bd4cb04512c2dea65ec3104.zip |
bcachefs: Split out btree_trigger_flags
The trigger flags really belong with individual btree_insert_entries,
not the transaction commit flags - this splits out those flags and
unifies them with the BCH_BUCKET_MARK flags. Todo - split out
btree_trigger.c from buckets.c
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/migrate.c')
-rw-r--r-- | fs/bcachefs/migrate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/migrate.c b/fs/bcachefs/migrate.c index db86420bd647..0e3f63c1d65c 100644 --- a/fs/bcachefs/migrate.c +++ b/fs/bcachefs/migrate.c @@ -76,7 +76,7 @@ static int __bch2_dev_usrdata_drop(struct bch_fs *c, unsigned dev_idx, int flags bch2_btree_iter_set_pos(iter, bkey_start_pos(&sk.k->k)); - bch2_trans_update(&trans, iter, sk.k); + bch2_trans_update(&trans, iter, sk.k, 0); ret = bch2_trans_commit(&trans, NULL, NULL, BTREE_INSERT_NOFAIL); |