summaryrefslogtreecommitdiff
path: root/crypto/acompress.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-10-09 12:15:44 -0700
committerTheodore Ts'o <tytso@mit.edu>2017-10-18 19:52:39 -0400
commit815dac33b27da9efce0f6008272e69f2a1ba1a33 (patch)
tree608a6a2032f1d36b5332ace1f0f8644986dca2a3 /crypto/acompress.c
parent32c3cf028e747d1e9cf0679b16dcbe3794fe4853 (diff)
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 'crypto/acompress.c')
0 files changed, 0 insertions, 0 deletions