diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-11-08 01:48:32 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:08:11 +0300 |
commit | 1d25849c2c2d552b09494b984da915be4a703a18 (patch) | |
tree | 1eb55b0237563aabdde313ee46176d30a640a4fa /fs/bcachefs/migrate.c | |
parent | b35b1925832e6384fcb64c347a70ee205f6e89ea (diff) | |
download | linux-1d25849c2c2d552b09494b984da915be4a703a18.tar.xz |
bcachefs: Centralize marking of replicas in btree update path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/migrate.c')
-rw-r--r-- | fs/bcachefs/migrate.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/migrate.c b/fs/bcachefs/migrate.c index 38b392472521..46878590327d 100644 --- a/fs/bcachefs/migrate.c +++ b/fs/bcachefs/migrate.c @@ -72,11 +72,6 @@ static int bch2_dev_usrdata_drop(struct bch_fs *c, unsigned dev_idx, int flags) */ bch2_extent_normalize(c, e.s); - ret = bch2_mark_bkey_replicas(c, BKEY_TYPE_EXTENTS, - bkey_i_to_s_c(&tmp.key)); - if (ret) - break; - iter.pos = bkey_start_pos(&tmp.key.k); ret = bch2_btree_insert_at(c, NULL, NULL, |