summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorMarco Stornelli <marco.stornelli@gmail.com>2012-10-06 14:41:05 +0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-10 07:33:38 +0400
commitf6e12dc4fc6f78745fd48a24ff2f06efb0bdeb0d (patch)
tree656faafc73cb209c74d88d89ba5545d8ca135599 /fs
parente40b34c7921534a46f7bae23ec6646d3d9c2c7b2 (diff)
downloadlinux-f6e12dc4fc6f78745fd48a24ff2f06efb0bdeb0d.tar.xz
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/hpfs/super.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index bc28bf077a6a..a3076228523d 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -398,7 +398,6 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
*flags |= MS_NOATIME;
hpfs_lock(s);
- lock_super(s);
uid = sbi->sb_uid; gid = sbi->sb_gid;
umask = 0777 & ~sbi->sb_mode;
lowercase = sbi->sb_lowercase;
@@ -431,12 +430,10 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
replace_mount_options(s, new_opts);
- unlock_super(s);
hpfs_unlock(s);
return 0;
out_err:
- unlock_super(s);
hpfs_unlock(s);
kfree(new_opts);
return -EINVAL;