]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf487460b50d2d277228ce0544df3b4cde7cbf3f
tree01d36d5f87469aa25a7431e0b21ff86b7e524052
parent0384770468ceec11baeb8fdbe0b7fd63ae6bf968
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