diff options
author | Eric Biggers <ebiggers@google.com> | 2017-10-09 21:15:44 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-10-19 01:52:39 +0200 |
commit | 815dac33b27da9efce0f6008272e69f2a1ba1a33 (patch) | |
tree | 608a6a2032f1d36b5332ace1f0f8644986dca2a3 /fs/ext4 | |
parent | fscrypt: new helper function - fscrypt_prepare_lookup() (diff) | |
download | linux-815dac33b27da9efce0f6008272e69f2a1ba1a33.tar.xz linux-815dac33b27da9efce0f6008272e69f2a1ba1a33.zip |
fscrypt: new helper function - fscrypt_prepare_setattr()
Introduce a helper function for filesystems to call when processing
->setattr() on a possibly-encrypted inode. It handles enforcing that an
encrypted file can only be truncated if its encryption key is available.
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions