diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-06-16 16:08:31 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:31:53 +0200 |
| commit | 03d0c37ccf5e587a9c6ca7c4fc8916b42d0ab200 (patch) | |
| tree | c76e1232422f7894682e8e94d59c0fd96d47742c /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 69139a62a918987418a8e53470117df83904a1bb (diff) | |
f2fs: open via dedicated fs bdev helpers
Route the extra device opens of a multi-device f2fs through
fs_bdev_file_open_by_path() so each device is registered against the
superblock, and convert the matching release in destroy_device_list()
to fs_bdev_file_release(). The first device aliases the main bdev file
opened by setup_bdev_super() and is already registered through it.
f2fs opened its extra devices without holder ops, so a freeze, sync, or
removal of one of them was never propagated to the superblock.
Registering them wires those events up: every device now freezes,
thaws, syncs, and shuts down the filesystem like the main device does.
Link: https://patch.msgid.link/20260616-work-super-bdev_holder_global-v2-15-7df6b864028e@kernel.org
Acked-by: Chao Yu <chao@kernel.org>
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
