diff options
author | Kent Overstreet | 2024-04-05 16:21:18 -0400 |
---|---|---|
committer | Kent Overstreet | 2024-04-05 16:21:18 -0400 |
commit | cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a (patch) | |
tree | b58d8316f84b78eadf68a54706afbf7fa99ba639 /fs | |
parent | a6c4162d844dae4dbfea1bf9ecffcb852d3ed615 (diff) |
bcachefs: fix rand_delete unit test
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/tests.c b/fs/bcachefs/tests.c index b3fe9fc57747..bfec656f94c0 100644 --- a/fs/bcachefs/tests.c +++ b/fs/bcachefs/tests.c @@ -672,7 +672,7 @@ static int __do_delete(struct btree_trans *trans, struct bpos pos) bch2_trans_iter_init(trans, &iter, BTREE_ID_xattrs, pos, BTREE_ITER_INTENT); - k = bch2_btree_iter_peek(&iter); + k = bch2_btree_iter_peek_upto(&iter, POS(0, U64_MAX)); ret = bkey_err(k); if (ret) goto err; |