diff options
Diffstat (limited to 'fs/fat/inode.c')
-rw-r--r-- | fs/fat/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 854b578f6695..343e477c6dcb 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -635,6 +635,8 @@ static int fat_remount(struct super_block *sb, int *flags, char *data) | |||
635 | struct msdos_sb_info *sbi = MSDOS_SB(sb); | 635 | struct msdos_sb_info *sbi = MSDOS_SB(sb); |
636 | *flags |= MS_NODIRATIME | (sbi->options.isvfat ? 0 : MS_NOATIME); | 636 | *flags |= MS_NODIRATIME | (sbi->options.isvfat ? 0 : MS_NOATIME); |
637 | 637 | ||
638 | sync_filesystem(sb); | ||
639 | |||
638 | /* make sure we update state on remount. */ | 640 | /* make sure we update state on remount. */ |
639 | new_rdonly = *flags & MS_RDONLY; | 641 | new_rdonly = *flags & MS_RDONLY; |
640 | if (new_rdonly != (sb->s_flags & MS_RDONLY)) { | 642 | if (new_rdonly != (sb->s_flags & MS_RDONLY)) { |