diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-04-12 04:54:12 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:20 -0400 |
commit | 3ea2b1e12898154d6fae49b22a3509521ba49d38 (patch) | |
tree | a7761fcbec401fbf3a8593a5a3c9a58f09f60322 /fs/bcachefs/bset.h | |
parent | a0e0bda117d80b107c137e4c6cd0fb9814bd5214 (diff) | |
download | linux-3ea2b1e12898154d6fae49b22a3509521ba49d38.tar.gz linux-3ea2b1e12898154d6fae49b22a3509521ba49d38.tar.bz2 linux-3ea2b1e12898154d6fae49b22a3509521ba49d38.zip |
bcachefs: cmp_int()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bset.h')
-rw-r--r-- | fs/bcachefs/bset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/bset.h b/fs/bcachefs/bset.h index 329ffb0b6b3d..da3e41cc9757 100644 --- a/fs/bcachefs/bset.h +++ b/fs/bcachefs/bset.h @@ -465,7 +465,7 @@ static inline int bkey_iter_cmp(struct btree *b, { return bkey_cmp_packed(b, l, r) ?: (int) bkey_deleted(r) - (int) bkey_deleted(l) - ?: (l > r) - (l < r); + ?: cmp_int(l, r); } static inline int btree_node_iter_cmp(struct btree *b, |