+11
−1
+0
−4
+0
−4
+0
−8
+0
−25
Loading
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: 14605409 ("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>