eCryptfs: increment extent_offset once per loop interation
authorMichael Halcrow <mhalcrow@us.ibm.com>
Mon, 5 Nov 2007 22:51:03 +0000 (14:51 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 5 Nov 2007 23:12:33 +0000 (15:12 -0800)
commit778d1a2bd42ae862a6c6d20a1c3af5e45b3c1924
treeafc2eed74ad70fb03b0734b13d61c1bd9e6089f3
parent01aae97196f2cdfbfebc5a0365bad82d98975588
eCryptfs: increment extent_offset once per loop interation

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@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/crypto.c