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:
Kent Overstreet 2021-04-24 00:59:29 -04:00 committed by Kent Overstreet
parent bc2e5d5c66
commit 8058b532ac

View file

@ -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