diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-06-16 16:08:22 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:31:52 +0200 |
| commit | 3586e0bd0b924d567090a01067a581553301bc3a (patch) | |
| tree | 6f9da04d18e26bd36560570b557e289b88b62403 /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 5b1e65943b9659c014e1841b7b3820238a39eee1 (diff) | |
ocfs2: don't reset s_dev on dismount
ocfs2_dismount_volume() has reset sb->s_dev to zero since the original
merge in ccd979bdbce9 ("[PATCH] OCFS2: The Second Oracle Cluster
Filesystem") as part of scrubbing the super_block. Nothing reads the
field afterwards: all ocfs2-internal uses are mount-time log and trace
prints, and dev_t-keyed superblock lookups skip a dying superblock
anyway - s_root is gone before ->put_super runs and super_lock()
refuses SB_DYING superblocks.
The upcoming device-to-superblock table registers every superblock
under its s_dev. Drop the reset instead of leaving a superblock around
whose s_dev contradicts its registration.
Link: https://patch.msgid.link/20260616-work-super-bdev_holder_global-v2-6-7df6b864028e@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
