]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2024 10:14:35 +0000 (12:14 +0200)
commit254c58d614f149da0921d48882ddf81bbaa8306e
tree6b4bad0586c28b7677811b5db328c82bf3ce703f
parent01981276d64e542c177b243f7c979fee855d5487
exfat: fix timing of synchronizing bitmap and inode

[ Upstream commit d7ed5232f0f16181506373d73e711190d5e0c868 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/exfat/file.c