eCryptfs: Merge ecryptfs_encrypt_extent() and ecryptfs_decrypt_extent()
authorTyler Hicks <tyhicks@canonical.com>
Sat, 6 Apr 2013 07:08:48 +0000 (00:08 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 8 Jun 2013 00:28:27 +0000 (17:28 -0700)
commitd78de618962d1e9d28c602e3c75991fe9c94e961
tree674894d0c1a3bf69f0b901f24113f35e2814db7f
parenta8ca90e2071edb3d3f3272ae73d73411f0b70b54
eCryptfs: Merge ecryptfs_encrypt_extent() and ecryptfs_decrypt_extent()

They are identical except if the src_page or dst_page index is used, so
they can be merged safely if page_index is conditionally assigned.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
fs/ecryptfs/crypto.c