summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/fs-ioctl.c
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/bcachefs/fs-ioctl.c
parentLinux 6.7-rc1 (diff)
downloadlinux-f0cd988016f679f489f0ca8498c300eaff370b28.tar.xz
linux-f0cd988016f679f489f0ca8498c300eaff370b28.zip
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/bcachefs/fs-ioctl.c')
0 files changed, 0 insertions, 0 deletions