eCryptfs: Use entire helper page during page crypto operations
authorTyler Hicks <tyhicks@canonical.com>
Wed, 17 Apr 2013 06:21:24 +0000 (23:21 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 8 Jun 2013 00:28:21 +0000 (17:28 -0700)
commit12003e5b18ca33807b3f9448309ec92184192b85
treed4c9ddf9ff9e70956286c369f4ed0b48edb5da2d
parentfc8b14d338f6265533a8f82db1325fa112b530ba
eCryptfs: Use entire helper page during page crypto operations

When encrypting eCryptfs pages and decrypting pages from the lower
filesystem, utilize the entire helper page rather than only the first
4096 bytes.

This only affects architectures where PAGE_CACHE_SIZE is larger than
4096 bytes.

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