commit | c1d9b584e2cf3f0562d8fcf34574c044d17853a1 | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Mon Jul 22 09:26:22 2019 -0700 |
committer | Eric Biggers <ebiggers@google.com> | Sun Jul 28 16:59:16 2019 -0700 |
tree | 9c0c25b8bb3e53a55ffb9d86faae9cff7c56d012 | |
parent | fd2d1acfcadfe2e42567afaec5e989b38061a7d2 [diff] |
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: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Jaegeuk Kim <jaegeuk@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com>