diff options
Diffstat (limited to 'fs/ntfs/super.c')
-rw-r--r-- | fs/ntfs/super.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 82650d52d916..bd5610d48242 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c | |||
@@ -468,6 +468,8 @@ static int ntfs_remount(struct super_block *sb, int *flags, char *opt) | |||
468 | 468 | ||
469 | ntfs_debug("Entering with remount options string: %s", opt); | 469 | ntfs_debug("Entering with remount options string: %s", opt); |
470 | 470 | ||
471 | sync_filesystem(sb); | ||
472 | |||
471 | #ifndef NTFS_RW | 473 | #ifndef NTFS_RW |
472 | /* For read-only compiled driver, enforce read-only flag. */ | 474 | /* For read-only compiled driver, enforce read-only flag. */ |
473 | *flags |= MS_RDONLY; | 475 | *flags |= MS_RDONLY; |