The patch titled eCryptfs: increment extent_offset once per loop interation has been added to the -mm tree. Its filename is ecryptfs-increment-extent_offset-once-per-loop-interation.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: eCryptfs: increment extent_offset once per loop interation From: Michael Halcrow <mhalcrow@xxxxxxxxxx> The extent_offset is getting incremented twice per loop iteration through any given page. It should only be getting incremented once. This bug should only impact hosts with >4K page sizes. Signed-off-by: Michael Halcrow <mhalcrow@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/ecryptfs/crypto.c | 2 -- 1 file changed, 2 deletions(-) diff -puN fs/ecryptfs/crypto.c~ecryptfs-increment-extent_offset-once-per-loop-interation fs/ecryptfs/crypto.c --- a/fs/ecryptfs/crypto.c~ecryptfs-increment-extent_offset-once-per-loop-interation +++ a/fs/ecryptfs/crypto.c @@ -503,7 +503,6 @@ int ecryptfs_encrypt_page(struct page *p "\n", rc); goto out; } - extent_offset++; } out: kfree(enc_extent_virt); @@ -639,7 +638,6 @@ int ecryptfs_decrypt_page(struct page *p "rc = [%d]\n", __FUNCTION__, rc); goto out; } - extent_offset++; } out: kfree(enc_extent_virt); _ Patches currently in -mm which might be from mhalcrow@xxxxxxxxxx are git-unionfs.patch pagecache-zeroing-zero_user_segment-zero_user_segments-and-zero_user.patch fs-ecryptfs-possible-cleanups.patch ecryptfs-track-header-bytes-rather-than-extents.patch ecryptfs-increment-extent_offset-once-per-loop-interation.patch ecryptfs-set-inode-key-only-once-per-crypto-operation.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html