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

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a125c074
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