eCryptfs: Simplify lower file offset calculation
authorTyler Hicks <tyhicks@canonical.com>
Tue, 16 Apr 2013 00:28:09 +0000 (17:28 -0700)
committerTyler Hicks <tyhicks@canonical.com>
Sat, 8 Jun 2013 00:28:23 +0000 (17:28 -0700)
commit24d15266bd86b7961f309a962fa3aa177a78c49f
treee41dfb1bf00797978a9f1009d60994e30a6b9250
parent0f89617623fed9541ead9497043e907466848a9f
eCryptfs: Simplify lower file offset calculation

Now that lower filesystem IO operations occur for complete
PAGE_CACHE_SIZE bytes, the calculation for converting an eCryptfs extent
index into a lower file offset can be simplified.

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