eCryptfs: Combine page_offset crypto functions
authorTyler Hicks <tyhicks@canonical.com>
Sat, 6 Apr 2013 06:37:51 +0000 (23:37 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 8 Jun 2013 00:28:27 +0000 (17:28 -0700)
commita8ca90e2071edb3d3f3272ae73d73411f0b70b54
tree646d795657166837c738eaff025e6face7d6b1a0
parent00a699400a707953368e970b37bb8765fdb08015
eCryptfs: Combine page_offset crypto functions

Combine ecryptfs_encrypt_page_offset() and
ecryptfs_decrypt_page_offset(). These two functions are functionally
identical so they can be safely merged if the caller can indicate
whether an encryption or decryption operation should occur.

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