From: Tyler Hicks Date: Wed, 23 Feb 2011 06:14:19 +0000 (-0600) Subject: eCryptfs: Remove unnecessary grow_file() function X-Git-Tag: v2.6.39-rc1~18^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4f0fe8bb7c73c738e1e11bc90d6e2cf9c6e20e;p=pandora-kernel.git eCryptfs: Remove unnecessary grow_file() function When creating a new eCryptfs file, the crypto metadata is written out and then the lower file was being "grown" with 4 kB of encrypted zeroes. I suspect that growing the encrypted file was to prevent an information leak that the unencrypted file was empty. However, the unencrypted file size is stored, in plaintext, in the metadata so growing the file is unnecessary. Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed