Home
last modified time | relevance | path

Searched hist:"53 a2731f9310a66beaf55677229ab067c85ce4fa" (Results 1 – 2 of 2) sorted by relevance

/linux/fs/ecryptfs/
H A Dmmap.cdiff 53a2731f9310a66beaf55677229ab067c85ce4fa Wed May 23 22:58:15 CEST 2007 Michael Halcrow <mhalcrow@us.ibm.com> eCryptfs: delay writing 0's after llseek until write

Delay writing 0's out in eCryptfs after a seek past the end of the file
until data is actually written.

http://www.opengroup.org/onlinepubs/009695399/functions/lseek.html

``The lseek() function shall not, by itself, extend the size of a
file.''

Without this fix, applications that lseek() past the end of the file without
writing will experience unexpected behavior.

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>
H A Dfile.cdiff 53a2731f9310a66beaf55677229ab067c85ce4fa Wed May 23 22:58:15 CEST 2007 Michael Halcrow <mhalcrow@us.ibm.com> eCryptfs: delay writing 0's after llseek until write

Delay writing 0's out in eCryptfs after a seek past the end of the file
until data is actually written.

http://www.opengroup.org/onlinepubs/009695399/functions/lseek.html

``The lseek() function shall not, by itself, extend the size of a
file.''

Without this fix, applications that lseek() past the end of the file without
writing will experience unexpected behavior.

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>