bcachefs: alloc_v4_u64s() fix
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 20 May 2023 06:20:28 +0000 (02:20 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:01 +0000 (17:10 -0400)
commitfaa62a2036a491a919deffd980abc867be51b6f1
tree6443e98ef99254b75bf4325d3eb3fa4a5fc76b02
parenta49bd8c007e4f4840f8c4d7fe7d62c7bdc7fffca
bcachefs: alloc_v4_u64s() fix

With the recent bkey_ops.min_val_size addition, bkey values are
automatically extended to the size of the current version.

The check in bch2_alloc_v4_invalid() needs to be updated to take this
into account.

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