From: Michael Halcrow Date: Wed, 23 May 2007 20:58:15 +0000 (-0700) Subject: eCryptfs: delay writing 0's after llseek until write X-Git-Tag: v2.6.22-rc3~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53a2731f9310a66beaf55677229ab067c85ce4fa;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed