bcachefs: Fix an out-of-bounds shift
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 22 Oct 2022 20:19:27 +0000 (16:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:45 +0000 (17:09 -0400)
commit1f69368c5cfce6770d101aaeff46ef22d22de07c
tree7269375de6ce6f670b2c75c29ede7012655d2b27
parentdf6a24f81aa29a0e844afb53f7d5bc8989cdbac3
bcachefs: Fix an out-of-bounds shift

roundup_pow_of_two() is undefined for 0 - oops.

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