diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-03-27 22:03:30 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:18 -0400 |
commit | 0f2383677172176691bbc760c5af4d87f67f78fc (patch) | |
tree | 880ad6e20a36b1d6408a80e9995b5f3fed269138 /fs/bcachefs/migrate.c | |
parent | 7c26ecae326aee84bb53cfb163108a20fb3094d1 (diff) | |
download | linux-stable-0f2383677172176691bbc760c5af4d87f67f78fc.tar.gz linux-stable-0f2383677172176691bbc760c5af4d87f67f78fc.tar.bz2 linux-stable-0f2383677172176691bbc760c5af4d87f67f78fc.zip |
bcachefs: trans_for_each_iter()
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 2b63b07db2bc..98202fbabfaf 100644 --- a/fs/bcachefs/migrate.c +++ b/fs/bcachefs/migrate.c @@ -52,7 +52,7 @@ static int bch2_dev_usrdata_drop(struct bch_fs *c, unsigned dev_idx, int flags) while ((k = bch2_btree_iter_peek(iter)).k && - !(ret = btree_iter_err(k))) { + !(ret = bkey_err(k))) { if (!bkey_extent_is_data(k.k) || !bch2_extent_has_device(bkey_s_c_to_extent(k), dev_idx)) { ret = bch2_mark_bkey_replicas(c, k); |