eCryptfs: Remove ECRYPTFS_NEW_FILE crypt stat flag
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>
Wed, 23 Feb 2011 06:54:20 +0000 (00:54 -0600)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 28 Mar 2011 06:47:44 +0000 (01:47 -0500)
commitfed8859b3ab94274c986cbdf7d27130e0545f02c
tree01d36d5f87469aa25a7431e0b21ff86b7e524052
parentbd4f0fe8bb7c73c738e1e11bc90d6e2cf9c6e20e
eCryptfs: Remove ECRYPTFS_NEW_FILE crypt stat flag

Now that grow_file() is not called in the ecryptfs_create() path, the
ECRYPTFS_NEW_FILE flag is no longer needed. It helped
ecryptfs_readpage() know not to decrypt zeroes that were read from the
lower file in the grow_file() path.

Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/inode.c
fs/ecryptfs/mmap.c