summaryrefslogtreecommitdiff
path: root/libbcachefs/keylist.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/keylist.c')
-rw-r--r--libbcachefs/keylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/keylist.c b/libbcachefs/keylist.c
index 864dfaa6..cda77835 100644
--- a/libbcachefs/keylist.c
+++ b/libbcachefs/keylist.c
@@ -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