summaryrefslogtreecommitdiffstats
path: root/fs/crypto/keyinfo.c
diff options
context:
space:
mode:
authorEric Biggers2017-02-22 22:25:14 +0100
committerTheodore Ts'o2017-03-15 19:15:47 +0100
commit94840e3c802daa1a62985957f36ac48faf8ceedd (patch)
tree09901080ff440233d2c092bd51a2aa296a2d9710 /fs/crypto/keyinfo.c
parentfscrypt: remove broken support for detecting keyring key revocation (diff)
downloadkernel-qcow2-linux-94840e3c802daa1a62985957f36ac48faf8ceedd.tar.gz
kernel-qcow2-linux-94840e3c802daa1a62985957f36ac48faf8ceedd.tar.xz
kernel-qcow2-linux-94840e3c802daa1a62985957f36ac48faf8ceedd.zip
fscrypt: eliminate ->prepare_context() operation
The only use of the ->prepare_context() fscrypt operation was to allow ext4 to evict inline data from the inode before ->set_context(). However, there is no reason why this cannot be done as simply the first step in ->set_context(), and in fact it makes more sense to do it that way because then the policy modes and flags get validated before any real work is done. Therefore, merge ext4_prepare_context() into ext4_set_context(), and remove ->prepare_context(). Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/crypto/keyinfo.c')
0 files changed, 0 insertions, 0 deletions