]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs crypto: f2fs_page_crypto() doesn't need a encryption context
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 6 Feb 2016 03:34:31 +0000 (19:34 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commitce855a3bd0922f548a3c4937d6447c2ed4d4b1bc
treea4a5d291f7d244f9320aac1371644df485c5d381
parent0fac2d501b0d13216c4bdd25c9d535edf306451f
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>
fs/f2fs/crypto.c
fs/f2fs/data.c
fs/f2fs/f2fs.h