xfs: simplify device handling
authorChristian Brauner <brauner@kernel.org>
Tue, 24 Oct 2023 14:53:40 +0000 (16:53 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 18 Nov 2023 13:59:24 +0000 (14:59 +0100)
commit653bee386c0875016cb36ed50f00bb0d8a7fcc7f
tree77f765459c6864648aa4b46f792d68ca939fc291
parent761c47a973441cf2a3602d2a9d0407eb0ec6ce1c
xfs: 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.

Link: https://lore.kernel.org/r/20231024-vfs-super-rework-v1-2-37a8aa697148@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/xfs/xfs_super.c