+1
−1
+7
−0
Loading
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:
Kent Overstreet <kent.overstreet@linux.dev>