diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-05 22:21:18 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-05 22:21:18 +0200 |
commit | cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a (patch) | |
tree | b58d8316f84b78eadf68a54706afbf7fa99ba639 /fs | |
parent | bcachefs: fix ! vs ~ typo in __clear_bit_le64() (diff) | |
download | linux-cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a.tar.xz linux-cf979fca9a05d7d0b116257e5c4dc12b6bb7eb3a.zip |
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; |