Home
last modified time | relevance | path

Searched hist:"5267456 e953fd8c5abd8e278b1cc6a9f9027ac0a" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/fs/exfat/
H A Ddir.cdiff 5267456e953fd8c5abd8e278b1cc6a9f9027ac0a Thu Jun 18 06:43:26 CDT 2020 Sungjong Seo <sj1557.seo@samsung.com> 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>
H A Dfile.cdiff 5267456e953fd8c5abd8e278b1cc6a9f9027ac0a Thu Jun 18 06:43:26 CDT 2020 Sungjong Seo <sj1557.seo@samsung.com> 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>
H A Dexfat_fs.hdiff 5267456e953fd8c5abd8e278b1cc6a9f9027ac0a Thu Jun 18 06:43:26 CDT 2020 Sungjong Seo <sj1557.seo@samsung.com> 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>