]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfb17eb5f62b8f6355c6f967891b27e27616486e0
treeafc2eed74ad70fb03b0734b13d61c1bd9e6089f3
parentbc78d035c1739da66007d9f437ce4efd6c88ca50
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