Loading fs/hpfs/super.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -398,7 +398,6 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) *flags |= MS_NOATIME; *flags |= MS_NOATIME; hpfs_lock(s); hpfs_lock(s); lock_super(s); uid = sbi->sb_uid; gid = sbi->sb_gid; uid = sbi->sb_uid; gid = sbi->sb_gid; umask = 0777 & ~sbi->sb_mode; umask = 0777 & ~sbi->sb_mode; lowercase = sbi->sb_lowercase; lowercase = sbi->sb_lowercase; Loading Loading @@ -431,12 +430,10 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) replace_mount_options(s, new_opts); replace_mount_options(s, new_opts); unlock_super(s); hpfs_unlock(s); hpfs_unlock(s); return 0; return 0; out_err: out_err: unlock_super(s); hpfs_unlock(s); hpfs_unlock(s); kfree(new_opts); kfree(new_opts); return -EINVAL; return -EINVAL; Loading Loading
fs/hpfs/super.c +0 −3 Original line number Original line Diff line number Diff line Loading @@ -398,7 +398,6 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) *flags |= MS_NOATIME; *flags |= MS_NOATIME; hpfs_lock(s); hpfs_lock(s); lock_super(s); uid = sbi->sb_uid; gid = sbi->sb_gid; uid = sbi->sb_uid; gid = sbi->sb_gid; umask = 0777 & ~sbi->sb_mode; umask = 0777 & ~sbi->sb_mode; lowercase = sbi->sb_lowercase; lowercase = sbi->sb_lowercase; Loading Loading @@ -431,12 +430,10 @@ static int hpfs_remount_fs(struct super_block *s, int *flags, char *data) replace_mount_options(s, new_opts); replace_mount_options(s, new_opts); unlock_super(s); hpfs_unlock(s); hpfs_unlock(s); return 0; return 0; out_err: out_err: unlock_super(s); hpfs_unlock(s); hpfs_unlock(s); kfree(new_opts); kfree(new_opts); return -EINVAL; return -EINVAL; Loading