aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorHyunchul Lee <[email protected]>2020-06-16 14:34:45 +0900
committerNamjae Jeon <[email protected]>2020-06-29 17:11:08 +0900
commita0271a15cf2cf907ea5b0f2ba611123f1b7935ec (patch)
treee0efb71a4fa40845babf0d630be9a9634ff24d03 /lib/test-string_helpers.c
parente8dd3cda8667118b70d9fe527f61fe22623de04d (diff)
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 <[email protected]> Acked-by: Sungjong Seo <[email protected]> Signed-off-by: Namjae Jeon <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions