summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/btree_node_scan.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-02-25 18:50:38 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-14 21:02:16 -0400
commitd5308203a85e016e9ceb3e38742a1634c77a7706 (patch)
tree6567cfb4cf4458b3b8627d9724c2aa026a6f0fec /fs/bcachefs/btree_node_scan.c
parentbcachefs: Make sure c->vfs_sb is set before starting fs (diff)
downloadlinux-d5308203a85e016e9ceb3e38742a1634c77a7706.tar.gz
linux-d5308203a85e016e9ceb3e38742a1634c77a7706.zip
bcachefs: Implement blk_holder_ops
We can't use the standard fs_holder_ops because they're meant for single device filesystems - fs_bdev_mark_dead() in particular - and they assume that the blk_holder is the super_block, which also doesn't work for a multi device filesystem. These generally follow the standard fs_holder_ops; the locking/refcounting is a bit simplified because c->ro_ref suffices, and bch2_fs_bdev_mark_dead() is not necessarily shutting down the entire filesystem. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_node_scan.c')
0 files changed, 0 insertions, 0 deletions