diff options
author | Christian Brauner <brauner@kernel.org> | 2023-10-24 16:01:07 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-11-18 16:59:22 +0300 |
commit | f0cd988016f679f489f0ca8498c300eaff370b28 (patch) | |
tree | c1c58c58edd6c05b39cf8c3e12dd7f60e1fc1846 /fs/bcachefs/fs-ioctl.c | |
parent | b85ea95d086471afb4ad062012a4d73cd328fa86 (diff) | |
download | linux-f0cd988016f679f489f0ca8498c300eaff370b28.tar.xz |
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