]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: fsync files by syncing parent inodes
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 12 Dec 2025 11:12:18 +0000 (14:12 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 29 Dec 2025 13:33:19 +0000 (13:33 +0000)
commitdcd9d6a47199565d83d61a11bbf91fa2ade4d676
tree7e6df5bca29dfa44a590350b84802e5f6af53586
parentf7edab0cee03a1cbe0e55a7bcab8d2d8b6b74278
fs/ntfs3: fsync files by syncing parent inodes

Some xfstests expect fsync() on a file or directory to also persist
directory metadata up the parent chain. Using generic_file_fsync() is not
sufficient for ntfs, because parent directories are not explicitly
written out.

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
fs/ntfs3/dir.c
fs/ntfs3/file.c
fs/ntfs3/frecord.c
fs/ntfs3/ntfs_fs.h