]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fs/ntfs3: handle attr_set_size() errors when truncating files
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Fri, 12 Dec 2025 11:33:19 +0000 (14:33 +0300)
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
Mon, 29 Dec 2025 13:33:30 +0000 (13:33 +0000)
commit576248a34b927e93b2fd3fff7df735ba73ad7d01
tree7a197917198361c95138e4f8e656d334e726a41d
parent3a6aba7f3cf2b46816e08548c254d98de9c74eba
fs/ntfs3: handle attr_set_size() errors when truncating files

If attr_set_size() fails while truncating down, the error is silently
ignored and the inode may be left in an inconsistent state.

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