diff options
-rw-r--r-- | fs/sync.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -33,8 +33,6 @@ static int __sync_filesystem(struct super_block *sb, int wait) | |||
33 | else | 33 | else |
34 | sync_quota_sb(sb, -1); | 34 | sync_quota_sb(sb, -1); |
35 | sync_inodes_sb(sb, wait); | 35 | sync_inodes_sb(sb, wait); |
36 | if (sb->s_dirt && sb->s_op->write_super) | ||
37 | sb->s_op->write_super(sb); | ||
38 | if (sb->s_op->sync_fs) | 36 | if (sb->s_op->sync_fs) |
39 | sb->s_op->sync_fs(sb, wait); | 37 | sb->s_op->sync_fs(sb, wait); |
40 | return __sync_blockdev(sb->s_bdev, wait); | 38 | return __sync_blockdev(sb->s_bdev, wait); |