]> git.dujemihanovic.xyz Git - linux.git/commit
bcachefs: fix eytzinger0_find_gt()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 9 Apr 2024 02:32:08 +0000 (22:32 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 9 Apr 2024 02:56:37 +0000 (22:56 -0400)
commit9c432404b9555c9444cbf6c8feaf52c0d8cad486
tree584148d5bf8ecc15fb73a8f54a3f55be72966107
parentb897b148ee30c7fca995e6d15cf791f52993920b
bcachefs: fix eytzinger0_find_gt()

- fix return types: promoting from unsigned to ssize_t does not do what
  we want here, and was pointless since the rest of the eytzinger code
  is u32
- nr, not size

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/eytzinger.h