diff options
| author | Eric Biggers <ebiggers@google.com> | 2017-02-22 13:25:14 -0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-05-21 18:45:06 +0200 |
| commit | f6243676342f5a02713ff8215975b3d51c8e052d (patch) | |
| tree | 3ada83bad40cdf70cefd6e04e555e454102adf18 /include/linux/fs_stack.h | |
| parent | 096f034ea8f9975a5e2304b622bb3e62819ac48a (diff) | |
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>
Conflicts:
fs/ext4/super.c
Diffstat (limited to 'include/linux/fs_stack.h')
0 files changed, 0 insertions, 0 deletions
