diff options
author | 2017-02-22 13:25:14 -0800 | |
---|---|---|
committer | 2017-03-15 14:15:47 -0400 | |
commit | 94840e3c802daa1a62985957f36ac48faf8ceedd (patch) | |
tree | 09901080ff440233d2c092bd51a2aa296a2d9710 /block | |
parent | fscrypt: remove broken support for detecting keyring key revocation (diff) | |
download | linux-94840e3c802daa1a62985957f36ac48faf8ceedd.tar.gz linux-94840e3c802daa1a62985957f36ac48faf8ceedd.tar.bz2 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 'block')
0 files changed, 0 insertions, 0 deletions