diff options
-rw-r--r-- | fs/bcachefs/keylist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/keylist.c b/fs/bcachefs/keylist.c index 864dfaa67b7a..cda77835b9ea 100644 --- a/fs/bcachefs/keylist.c +++ b/fs/bcachefs/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 |