exfat: fix timing of synchronizing bitmap and inode
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Sun, 31 Mar 2024 14:38:17 +0000 (23:38 +0900)
committerNamjae Jeon <linkinjeon@kernel.org>
Sun, 31 Mar 2024 14:39:29 +0000 (23:39 +0900)
commitd7ed5232f0f16181506373d73e711190d5e0c868
treeaedf559f292fb84c61a64eac6e1df0f4d9f6fab0
parent4cece764965020c22cff7665b18a012006359095
exfat: fix timing of synchronizing bitmap and inode

Commit(f55c096f62f1 exfat: do not zero the extended part) changed
the timing of synchronizing bitmap and inode in exfat_cont_expand().
The change caused xfstests generic/013 to fail if 'dirsync' or 'sync'
is enabled. So this commit restores the timing.

Fixes: f55c096f62f1 ("exfat: do not zero the extended part")
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/file.c