Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6e12dc4 authored by Marco Stornelli's avatar Marco Stornelli Committed by Al Viro
Browse files

hpfs: drop lock/unlock super



Removed lock/unlock super.

Signed-off-by: default avatarMarco Stornelli <marco.stornelli@gmail.com>
Acked-by: default avatarMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e40b34c7
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;