]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit3684de8ca2b82180f2cdcf5fbcfd3d29ef0afaf8
tree0764d2c74ee96d80b690587b90ec1d49c881de9a
parentcccd147a57e47527ce9c27fcd5f0a1c5669d6870
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