diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-17 05:46:23 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 19:47:42 +0300 |
commit | 3a860b5ad5f7fb851d1a9de5cd09b3e6e95362b2 (patch) | |
tree | 8db9bb5c92af41462e18c6d5b1403d414f4e2ae4 /fs/bcachefs/movinggc.c | |
parent | c8ef2dc2fc87369a949c3e379ebfe50fe540fa36 (diff) | |
download | linux-3a860b5ad5f7fb851d1a9de5cd09b3e6e95362b2.tar.xz |
bcachefs: for_each_btree_key_upto() -> for_each_btree_key_old_upto()
And for_each_btree_key2_upto -> for_each_btree_key_upto
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/movinggc.c')
-rw-r--r-- | fs/bcachefs/movinggc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/movinggc.c b/fs/bcachefs/movinggc.c index abe925e705a4..4aa8ef583037 100644 --- a/fs/bcachefs/movinggc.c +++ b/fs/bcachefs/movinggc.c @@ -161,7 +161,7 @@ static int bch2_copygc_get_buckets(struct moving_context *ctxt, __func__, bch2_err_str(ret))) return ret; - ret = for_each_btree_key2_upto(trans, iter, BTREE_ID_lru, + ret = for_each_btree_key_upto(trans, iter, BTREE_ID_lru, lru_pos(BCH_LRU_FRAGMENTATION_START, 0, 0), lru_pos(BCH_LRU_FRAGMENTATION_START, U64_MAX, LRU_TIME_MAX), 0, k, ({ |