]> www.infradead.org Git - users/hch/misc.git/commit
fs: unlock the superblock during iterate_supers_type
authorDarrick J. Wong <djwong@kernel.org>
Wed, 11 Jun 2025 16:40:44 +0000 (09:40 -0700)
committerChristian Brauner <brauner@kernel.org>
Thu, 12 Jun 2025 12:27:39 +0000 (14:27 +0200)
commit0b9d62a47149083d581d8b2abb04124b6175cb29
tree8f3d4e8c3f49bc1365bc43bd758cb881f06a6fe0
parent527c88d8390d6c0358dea4d71696795c05328925
fs: unlock the superblock during iterate_supers_type

This function takes super_lock in shared mode, so it should release the
same lock.

Cc: stable@vger.kernel.org # v6.16-rc1
Fixes: af7551cf13cf7f ("super: remove pointless s_root checks")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Link: https://lore.kernel.org/20250611164044.GF6138@frogsfrogsfrogs
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/super.c