bcachefs: Fix 'pointer to invalid device' check
This fixes the device removal tests, which have been failing at random
due to the fact that when we're running the .key_invalid checks in the
write path the key may actually no longer exist - we might be racing
with the keys being deleted.
Signed-off-by:
Kent Overstreet <kent.overstreet@linux.dev>
parent
a125c074
Please register or sign in to comment