diff options
author | Eric Biggers <ebiggers@google.com> | 2017-02-23 00:25:14 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2017-03-15 21:15:47 +0300 |
commit | 94840e3c802daa1a62985957f36ac48faf8ceedd (patch) | |
tree | 09901080ff440233d2c092bd51a2aa296a2d9710 /fs/crypto/crypto.c | |
parent | 1b53cf9815bb4744958d41f3795d5d5a1d365e2d (diff) | |
download | linux-94840e3c802daa1a62985957f36ac48faf8ceedd.tar.xz |
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/crypto.c')
0 files changed, 0 insertions, 0 deletions