diff options
| author | 2026-01-28 16:26:13 +0100 | |
|---|---|---|
| committer | 2026-01-29 09:39:41 -0800 | |
| commit | e9734653c523c744f03333ece6ae7a315187f05c (patch) | |
| tree | 415c025fcdf1a0231b59cd464a0ab35e2c11bcf3 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | Linux 6.19-rc7 (diff) | |
fs,fsverity: reject size changes on fsverity files in setattr_prepare
Add the check to reject truncates of fsverity files directly to
setattr_prepare instead of requiring the file system to handle it.
Besides removing boilerplate code, this also fixes the complete lack of
such check in btrfs.
Fixes: 146054090b08 ("btrfs: initial fsverity support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Link: https://lore.kernel.org/r/20260128152630.627409-2-hch@lst.de
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
