commit | bd4f0fe8bb7c73c738e1e11bc90d6e2cf9c6e20e | [log] [tgz] |
---|---|---|
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Wed Feb 23 00:14:19 2011 -0600 |
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | Mon Mar 28 01:47:43 2011 -0500 |
tree | caa1915ec444bbdb52a1646274d73e733979bb44 | |
parent | 40471856f2e38e9bfa8d605295e8234421110dd6 [diff] |
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 <tyhicks@linux.vnet.ibm.com>