diff options
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r-- | fs/ubifs/super.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index e9f7a754c4f7..84f3c7fd1552 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c | |||
@@ -447,9 +447,6 @@ static int ubifs_sync_fs(struct super_block *sb, int wait) | |||
447 | if (!wait) | 447 | if (!wait) |
448 | return 0; | 448 | return 0; |
449 | 449 | ||
450 | if (sb->s_flags & MS_RDONLY) | ||
451 | return 0; | ||
452 | |||
453 | /* | 450 | /* |
454 | * VFS calls '->sync_fs()' before synchronizing all dirty inodes and | 451 | * VFS calls '->sync_fs()' before synchronizing all dirty inodes and |
455 | * pages, so synchronize them first, then commit the journal. Strictly | 452 | * pages, so synchronize them first, then commit the journal. Strictly |