]> git.baikalelectronics.ru Git - kernel.git/commit
ext4 crypto: ext4_page_crypto() doesn't need a encryption context
authorTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2015 14:49:26 +0000 (10:49 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 3 Oct 2015 14:49:26 +0000 (10:49 -0400)
commit33463b28fcf98cd7ed73dc340ac666a8c985f187
tree0764d2c74ee96d80b690587b90ec1d49c881de9a
parenta6603133d2f23cd5844ab451a03d9f14bc46bf6b
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>
fs/ext4/crypto.c
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/readpage.c