diff options
author | Eric Biggers | 2017-02-22 22:25:14 +0100 |
---|---|---|
committer | Theodore Ts'o | 2017-03-15 19:15:47 +0100 |
commit | 94840e3c802daa1a62985957f36ac48faf8ceedd (patch) | |
tree | 09901080ff440233d2c092bd51a2aa296a2d9710 /fs/crypto/keyinfo.c | |
parent | fscrypt: remove broken support for detecting keyring key revocation (diff) | |
download | kernel-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