summaryrefslogtreecommitdiff
path: root/fs/f2fs
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-10-24 15:01:07 +0200
committerChristian Brauner <brauner@kernel.org>2023-11-18 14:59:22 +0100
commitf0cd988016f679f489f0ca8498c300eaff370b28 (patch)
treec1c58c58edd6c05b39cf8c3e12dd7f60e1fc1846 /fs/f2fs
parentb85ea95d086471afb4ad062012a4d73cd328fa86 (diff)
fs: massage locking helpers
Multiple people have balked at the the fact that super_lock{_shared,_excluse}() return booleans and even if they return false hold s_umount. So let's change them to only hold s_umount when true is returned and change the code accordingly. Link: https://lore.kernel.org/r/20231024-vfs-super-freeze-v2-1-599c19f4faac@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions