Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hpfs: drop lock/unlock super

Removed lock/unlock super.

Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Acked-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

authored by

Marco Stornelli and committed by
Al Viro
f6e12dc4 e40b34c7

-3
-3
fs/hpfs/super.c
··· 398 398 *flags |= MS_NOATIME; 399 399 400 400 hpfs_lock(s); 401 - lock_super(s); 402 401 uid = sbi->sb_uid; gid = sbi->sb_gid; 403 402 umask = 0777 & ~sbi->sb_mode; 404 403 lowercase = sbi->sb_lowercase; ··· 430 431 431 432 replace_mount_options(s, new_opts); 432 433 433 - unlock_super(s); 434 434 hpfs_unlock(s); 435 435 return 0; 436 436 437 437 out_err: 438 - unlock_super(s); 439 438 hpfs_unlock(s); 440 439 kfree(new_opts); 441 440 return -EINVAL;