diff options
Diffstat (limited to 'fs/super.c')
-rw-r--r-- | fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/super.c b/fs/super.c index 18d159dc1e40..fae91ba38e48 100644 --- a/fs/super.c +++ b/fs/super.c | |||
@@ -510,7 +510,7 @@ restart: | |||
510 | sb->s_count++; | 510 | sb->s_count++; |
511 | spin_unlock(&sb_lock); | 511 | spin_unlock(&sb_lock); |
512 | down_read(&sb->s_umount); | 512 | down_read(&sb->s_umount); |
513 | if (sb->s_root && (wait || sb->s_dirt)) | 513 | if (sb->s_root) |
514 | sb->s_op->sync_fs(sb, wait); | 514 | sb->s_op->sync_fs(sb, wait); |
515 | up_read(&sb->s_umount); | 515 | up_read(&sb->s_umount); |
516 | /* restart only when sb is no longer on the list */ | 516 | /* restart only when sb is no longer on the list */ |