]> git.itanic.dy.fi Git - linux-stable/commit
nilfs2: simplify device handling
authorJan Kara <jack@suse.cz>
Wed, 1 Nov 2023 17:27:39 +0000 (18:27 +0100)
committerChristian Brauner <brauner@kernel.org>
Sat, 18 Nov 2023 13:59:24 +0000 (14:59 +0100)
commit5a8e94c0158f43341334e69a74b6dfa317ba3d2e
tree9b70dcbf40d3b7626749c2d0b5a1e449e1fdcafb
parent24c372d58223b83d0be5230c1a0e9370b60fb0ea
nilfs2: simplify device handling

We removed all codepaths where s_umount is taken beneath open_mutex and
bd_holder_lock so don't make things more complicated than they need to
be and hold s_umount over block device opening.

CC: Ryusuke Konishi <konishi.ryusuke@gmail.com>
CC: <linux-nilfs@vger.kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20231101172739.8676-1-jack@suse.cz
Acked-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/nilfs2/super.c