fs-verity: add the hook for file ->setattr()
Add a function fsverity_prepare_setattr() which filesystems that support fs-verity must call to deny truncates of verity files. Reviewed-by: NTheodore Ts'o <tytso@mit.edu> Reviewed-by: NJaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: NEric Biggers <ebiggers@google.com>
Showing
想要评论请 注册 或 登录