diff options
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r-- | fs/jffs2/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index 0defb1cc2a35..0918f0e2e266 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -243,6 +243,7 @@ static int jffs2_remount_fs(struct super_block *sb, int *flags, char *data) | |||
243 | struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); | 243 | struct jffs2_sb_info *c = JFFS2_SB_INFO(sb); |
244 | int err; | 244 | int err; |
245 | 245 | ||
246 | sync_filesystem(sb); | ||
246 | err = jffs2_parse_options(c, data); | 247 | err = jffs2_parse_options(c, data); |
247 | if (err) | 248 | if (err) |
248 | return -EINVAL; | 249 | return -EINVAL; |