linux/fs/ntfs3/file.c
Konstantin Komarov d5fb4e2c9b fs/ntfs3: check for shutdown in fsync
[ Upstream commit 1b2ae190ea ]

Ensure fsync() returns -EIO when the ntfs3 filesystem is in forced
shutdown, instead of silently succeeding via generic_file_fsync().

Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-01-02 12:56:41 +01:00

1426 lines
31 KiB