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 a64f36208797..1905f4af01cc 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -420,10 +420,8 @@ restart:
420 spin_unlock(&sb_lock); 420 spin_unlock(&sb_lock);
421 421
422 down_read(&sb->s_umount); 422 down_read(&sb->s_umount);
423 lock_super(sb);
424 if (sb->s_root && sb->s_dirt) 423 if (sb->s_root && sb->s_dirt)
425 sb->s_op->write_super(sb); 424 sb->s_op->write_super(sb);
426 unlock_super(sb);
427 up_read(&sb->s_umount); 425 up_read(&sb->s_umount);
428 426
429 spin_lock(&sb_lock); 427 spin_lock(&sb_lock);