OpenCloudOS-Kernel/fs/exfat
Sungjong Seo 5267456e95 exfat: flush dirty metadata in fsync
generic_file_fsync() exfat used could not guarantee the consistency of
a file because it has flushed not dirty metadata but only dirty data pages
for a file.

Instead of that, use exfat_file_fsync() for files and directories so that
it guarantees to commit both the metadata and data pages for a file.

Signed-off-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-06-29 17:11:18 +09: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
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: flush dirty metadata in fsync 2020-06-29 17:11:18 +09:00
exfat_fs.h exfat: flush dirty metadata in fsync 2020-06-29 17:11:18 +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: flush dirty metadata in fsync 2020-06-29 17:11:18 +09:00
inode.c Description for this pull request: 2020-06-09 11:24:59 -07:00
misc.c exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
namei.c exfat: move setting VOL_DIRTY over exfat_remove_entries() 2020-06-29 17:11:13 +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