Skip to content

Commit f6e12dc

Browse files
Marco StornelliAl Viro
authored andcommitted
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>
1 parent e40b34c commit f6e12dc

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎fs/hpfs/super.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,6 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
398398
*flags |= MS_NOATIME;
399399

400400
hpfs_lock(s);
401-
lock_super(s);
402401
uid = sbi->sb_uid; gid = sbi->sb_gid;
403402
umask = 0777 & ~sbi->sb_mode;
404403
lowercase = sbi->sb_lowercase;
@@ -431,12 +430,10 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data)
431430

432431
replace_mount_options(s, new_opts);
433432

434-
unlock_super(s);
435433
hpfs_unlock(s);
436434
return 0;
437435

438436
out_err:
439-
unlock_super(s);
440437
hpfs_unlock(s);
441438
kfree(new_opts);
442439
return -EINVAL;

0 commit comments

Comments
 (0)