summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2017-10-09 22:15:44 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-10-19 02:52:39 +0300
commit815dac33b27da9efce0f6008272e69f2a1ba1a33 (patch)
tree608a6a2032f1d36b5332ace1f0f8644986dca2a3 /fs/ext4
parent32c3cf028e747d1e9cf0679b16dcbe3794fe4853 (diff)
downloadlinux-815dac33b27da9efce0f6008272e69f2a1ba1a33.tar.xz
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