]> git.itanic.dy.fi Git - linux-stable/commit
fs: streamline thaw_super_locked
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Oct 2023 06:40:01 +0000 (08:40 +0200)
committerChristian Brauner <brauner@kernel.org>
Sat, 18 Nov 2023 13:59:24 +0000 (14:59 +0100)
commit24c372d58223b83d0be5230c1a0e9370b60fb0ea
tree860fe0162b9cdfa92b7e81f4003d5f23f30eec4e
parent218de67764e5c4682892427dd78b382e1709674c
fs: streamline thaw_super_locked

Add a new out_unlock label to share code that just releases s_umount
and returns an error, and rename and reuse the out label that deactivates
the sb for one more case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20231027064001.GA9469@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/super.c