projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2e5d5
)
bcachefs: Fix bch2_verify_keylist_sorted
author
Kent Overstreet
<kent.overstreet@gmail.com>
Sat, 24 Apr 2021 04:59:29 +0000
(
00:59
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:02 +0000
(17:09 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/keylist.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/keylist.c
b/fs/bcachefs/keylist.c
index 864dfaa67b7a4cb255724409297adae74743b849..cda77835b9ea62381f3962a1d0029d463fe3b2b1 100644
(file)
--- 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 &&
- b
key
_cmp(k->k.p, bkey_next(k)->k.p) >= 0);
+ b
pos
_cmp(k->k.p, bkey_next(k)->k.p) >= 0);
}
#endif