summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorWenjie Qi <qwjhust@gmail.com>2026-06-10 17:37:35 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2026-06-22 22:52:37 +0300
commit242d30bfc0a84b8b5de0a88821b53c9ad7fd31c4 (patch)
treebabf1718964e4d15cd04272d2342125d70acd536 /scripts/Makefile.thinlto
parent90e02a8e1b6863c41876473f844c8e24b06d55f7 (diff)
downloadlinux-242d30bfc0a84b8b5de0a88821b53c9ad7fd31c4.tar.xz
f2fs: reject setattr size changes on large folio files
F2FS large folios are only enabled for immutable non-compressed files. Writable open and writable mmap reject such mappings, but truncate(2) through f2fs_setattr() misses the same guard. If FS_IMMUTABLE_FL is cleared while the inode is still cached, the mapping can keep large-folio support and ATTR_SIZE can change i_size. Reject size changes in that state. Cc: stable@kernel.org Fixes: 05e65c14ea59 ("f2fs: support large folio for immutable non-compressed case") Signed-off-by: Wenjie Qi <qiwenjie@xiaomi.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions