diff options
author | Marco Stornelli <marco.stornelli@gmail.com> | 2012-10-06 06:41:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-09 23:33:38 -0400 |
commit | f6e12dc4fc6f78745fd48a24ff2f06efb0bdeb0d (patch) | |
tree | 656faafc73cb209c74d88d89ba5545d8ca135599 /fs/hpfs | |
parent | e40b34c7921534a46f7bae23ec6646d3d9c2c7b2 (diff) |
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/hpfs')
-rw-r--r-- | fs/hpfs/super.c | 3 |
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) | |||
398 | *flags |= MS_NOATIME; | 398 | *flags |= MS_NOATIME; |
399 | 399 | ||
400 | hpfs_lock(s); | 400 | hpfs_lock(s); |
401 | lock_super(s); | ||
402 | uid = sbi->sb_uid; gid = sbi->sb_gid; | 401 | uid = sbi->sb_uid; gid = sbi->sb_gid; |
403 | umask = 0777 & ~sbi->sb_mode; | 402 | umask = 0777 & ~sbi->sb_mode; |
404 | lowercase = sbi->sb_lowercase; | 403 | lowercase = sbi->sb_lowercase; |
@@ -431,12 +430,10 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) | |||
431 | 430 | ||
432 | replace_mount_options(s, new_opts); | 431 | replace_mount_options(s, new_opts); |
433 | 432 | ||
434 | unlock_super(s); | ||
435 | hpfs_unlock(s); | 433 | hpfs_unlock(s); |
436 | return 0; | 434 | return 0; |
437 | 435 | ||
438 | out_err: | 436 | out_err: |
439 | unlock_super(s); | ||
440 | hpfs_unlock(s); | 437 | hpfs_unlock(s); |
441 | kfree(new_opts); | 438 | kfree(new_opts); |
442 | return -EINVAL; | 439 | return -EINVAL; |