aboutsummaryrefslogtreecommitdiffstats
path: root/fs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/super.c')
-rw-r--r--fs/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/super.c b/fs/super.c
index bdd7158b785e..2a49fed77453 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -556,9 +556,7 @@ int do_remount_sb(struct super_block *sb, int flags, void *data, int force)
556 remount_rw = !(flags & MS_RDONLY) && (sb->s_flags & MS_RDONLY); 556 remount_rw = !(flags & MS_RDONLY) && (sb->s_flags & MS_RDONLY);
557 557
558 if (sb->s_op->remount_fs) { 558 if (sb->s_op->remount_fs) {
559 lock_super(sb);
560 retval = sb->s_op->remount_fs(sb, &flags, data); 559 retval = sb->s_op->remount_fs(sb, &flags, data);
561 unlock_super(sb);
562 if (retval) 560 if (retval)
563 return retval; 561 return retval;
564 } 562 }