linux/fs/exfat
Hyunchul Lee a0271a15cf exfat: call sync_filesystem for read-only remount
We need to commit dirty metadata and pages to disk
before remounting exfat as read-only.

This fixes a failure in xfstests generic/452

generic/452 does the following:
cp something <exfat>/
mount -o remount,ro <exfat>

the <exfat>/something is corrupted. because while
exfat is remounted as read-only, exfat doesn't
have a chance to commit metadata and
vfs invalidates page caches in a block device.

Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-06-29 17:11:08 +09:00
..
balloc.c exfat: Use a more common logging style 2020-06-09 16:48:34 +09:00
cache.c exfat: add exfat cache 2020-03-05 21:00:40 -05:00
dir.c exfat: Set the unused characters of FileName field to the value 0000h 2020-06-29 17:11:00 +09:00
exfat_fs.h exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
exfat_raw.h exfat: separate the boot sector analysis 2020-06-09 16:49:14 +09:00
fatent.c exfat: fix range validation error in alloc and free cluster 2020-06-09 16:50:12 +09:00
file.c exfat: fix incorrect update of stream entry in __exfat_truncate() 2020-06-09 16:50:07 +09:00
inode.c Description for this pull request: 2020-06-09 11:24:59 -07:00
Kconfig exfat: Improve wording of EXFAT_DEFAULT_IOCHARSET config option 2020-06-09 16:48:39 +09:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
misc.c exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
namei.c exfat: add missing brelse() calls on error paths 2020-06-29 17:11:05 +09:00
nls.c exfat: Fix potential use after free in exfat_load_upcase_table() 2020-06-09 16:50:18 +09:00
super.c exfat: call sync_filesystem for read-only remount 2020-06-29 17:11:08 +09:00