Commit cba37d81 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 9d2a7bd8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment