diff options
| author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-05 19:34:31 -0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:33:01 +0200 |
| commit | 28c47722bccafb2d343dd1d970a05413ed633041 (patch) | |
| tree | 736fdcd1d48e0bdf4738e511c834a575609ed279 /fs/f2fs/data.c | |
| parent | 5e143164aad5dd7810eb603a2ef12bb58fee9230 (diff) | |
| download | android_kernel_m2note-28c47722bccafb2d343dd1d970a05413ed633041.tar.gz | |
f2fs crypto: f2fs_page_crypto() doesn't need a encryption context
This patch adopts:
ext4 crypto: ext4_page_crypto() doesn't need a encryption context
Since ext4_page_crypto() doesn't need an encryption context (at least
not any more), this allows us to simplify a number function signature
and also allows us to avoid needing to allocate a context in
ext4_block_write_begin(). It also means we no longer need a separate
ext4_decrypt_one() function.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
| -rw-r--r-- | fs/f2fs/data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 4170154ba..729bdcea8 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -1592,7 +1592,7 @@ repeat: /* avoid symlink page */ if (f2fs_encrypted_inode(inode) && S_ISREG(inode->i_mode)) { - err = f2fs_decrypt_one(inode, page); + err = f2fs_decrypt(page); if (err) goto fail; } |
