Skip to content
Commit 13fd6be1 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Stash a pointer to the filesystem for blk_holder_ops



Note that we open block devices before we allocate bch_fs, but once
attached to a filesystem they will be closed before the bch_fs is torn
down - so stashing a pointer without a refcount looks incorrect but it's
not.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b31c0704
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment