Re: [f2fs-dev] [PATCH v2] f2fs: reject setattr size changes on large folio files
From: patchwork-bot+f2fs
Date: Mon Jun 15 2026 - 22:50:23 EST
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@xxxxxxxxxx>:
On Wed, 10 Jun 2026 22:37:35 +0800 you wrote:
> 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.
>
> [...]
Here is the summary with links:
- [f2fs-dev,v2] f2fs: reject setattr size changes on large folio files
https://git.kernel.org/jaegeuk/f2fs/c/831bece2d6e6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html