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>
This commit is contained in:
Konstantin Komarov 2025-11-06 16:17:19 +03:00 • committed by Greg Kroah-Hartman
commit d5fb4e2c9b