[GIT PULL] exfat fixes for 5.8-rc4
From: Namjae Jeon
Date: Mon Jun 29 2020 - 23:05:54 EST
Hi Linus,
This is exfat fixes pull request for v5.8-rc4. I add description of
this pull request on below. Please pull exfat with following fixes.
Thanks!
The following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68:
Linux 5.8-rc3 (2020-06-28 15:00:24 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git tags/exfat-for-5.8-rc4
for you to fetch changes up to 5267456e953fd8c5abd8e278b1cc6a9f9027ac0a:
exfat: flush dirty metadata in fsync (2020-06-29 17:11:18 +0900)
----------------------------------------------------------------
Description for this pull request:
- Zero out unused characters of FileName field to avoid a complaint from some fsck tool.
- Fix memory leak on error paths.
- Fix unnecessary VOL_DIRTY set when calling rmdir on non-empty directory.
- Call sync_filesystem() for read-only remount(Fix generic/452 test in xfstests)
- Add own fsync() to flush dirty metadata.
----------------------------------------------------------------
Dan Carpenter (1):
exfat: add missing brelse() calls on error paths
Hyeongseok.Kim (1):
exfat: Set the unused characters of FileName field to the value 0000h
Hyunchul Lee (1):
exfat: call sync_filesystem for read-only remount
Namjae Jeon (1):
exfat: move setting VOL_DIRTY over exfat_remove_entries()
Sungjong Seo (1):
exfat: flush dirty metadata in fsync
fs/exfat/dir.c | 12 +++++++-----
fs/exfat/exfat_fs.h | 1 +
fs/exfat/file.c | 19 ++++++++++++++++++-
fs/exfat/namei.c | 14 +++++++++++---
fs/exfat/super.c | 10 ++++++++++
5 files changed, 47 insertions(+), 9 deletions(-)