diff options
| -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; |
