linux/fs/ecryptfs
Michael Halcrow 53a2731f93 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>
2007-05-23 20:14:15 -07:00
..
crypto.c
debug.c
dentry.c
ecryptfs_kernel.h
file.c eCryptfs: delay writing 0's after llseek until write 2007-05-23 20:14:15 -07:00
inode.c
keystore.c
main.c
Makefile
messaging.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00
mmap.c eCryptfs: delay writing 0's after llseek until write 2007-05-23 20:14:15 -07:00
netlink.c
super.c