Home
last modified time | relevance | path

Searched hist:d4c5cdb3e099da7cc64df622b02ff7659babe16e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/ecryptfs/
H A Dmmap.cdiff d4c5cdb3e099da7cc64df622b02ff7659babe16e Wed Jun 27 16:09:45 CDT 2007 Michael Halcrow <mhalcrow@us.ibm.com> zero out last page for llseek/write

When one llseek's past the end of the file and then writes, every page past
the previous end of the file should be cleared. Trevor found that the code,
as is, does not assure that the very last page is always cleared. This patch
takes care of that.

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>