mirror of
https://github.com/torvalds/linux
synced 2024-10-03 09:48:02 +00:00
bcachefs: Fix bch2_verify_keylist_sorted
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
bc2e5d5c66
commit
8058b532ac
|
@ -62,6 +62,6 @@ void bch2_verify_keylist_sorted(struct keylist *l)
|
|||
|
||||
for_each_keylist_key(l, k)
|
||||
BUG_ON(bkey_next(k) != l->top &&
|
||||
bkey_cmp(k->k.p, bkey_next(k)->k.p) >= 0);
|
||||
bpos_cmp(k->k.p, bkey_next(k)->k.p) >= 0);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue