bcachefs: Kill stripe check in bch2_alloc_v4_invalid()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 24 Aug 2023 21:07:50 +0000 (17:07 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:12 +0000 (17:10 -0400)
commitcba37d81f5c34197e815bcd60f075be232ae6783
treed2deda40cad57cdb0ebba2386c862c9e92fcdd60
parent9d2a7bd8b7f747c85a113a4967ffd5d65ef72dfa
bcachefs: Kill stripe check in bch2_alloc_v4_invalid()

Since we set bucket data type to BCH_DATA_stripe based on the data
pointer, not just the stripe pointer, it doesn't make sense to check for
no stripe in the .key_invalid method - this is a situation that
shouldn't happen, but our other fsck/repair code handles it.

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