bcachefs: Avoid extent entry type assertions in .invalid()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 17 Mar 2024 01:22:24 +0000 (21:22 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 18 Mar 2024 00:53:11 +0000 (20:53 -0400)
commit264b501f8f214d8443292dd254aa387dba59159a
tree35c14193560f203f85f0d8004ae4b33457095ac6
parent109ea419cf94afd94ae7840a93bcb1cd3eb5cea9
bcachefs: Avoid extent entry type assertions in .invalid()

After keys have passed bkey_ops.key_invalid we should never see invalid
extent entry types - but .key_invalid itself needs to cope with them.

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