linux/fs/ecryptfs
Frank Swiderski 24562486be ecryptfs: remove unnecessary decrypt when extending a file
Removes an unecessary page decrypt from ecryptfs_begin_write when the
page is beyond the current file size. Previously, the call to
ecryptfs_decrypt_page would result in a read of 0 bytes, but still
attempt to decrypt an entire page. This patch detects that case and
merely zeros the page before marking it up-to-date.

Signed-off-by: Frank Swiderski <fes@chromium.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2011-01-17 13:01:25 -06:00
..
crypto.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
debug.c
dentry.c fs: rcu-walk aware d_revalidate method 2011-01-07 17:50:29 +11:00
ecryptfs_kernel.h fs/ecryptfs: Add printf format/argument verification and fix fallout 2011-01-17 13:01:23 -06:00
file.c fs/ecryptfs: Add printf format/argument verification and fix fallout 2011-01-17 13:01:23 -06:00
inode.c ecryptfs: test lower_file pointer when lower_file_mutex is locked 2011-01-17 11:24:42 -06:00
Kconfig
keystore.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
kthread.c
main.c fs/ecryptfs: Add printf format/argument verification and fix fallout 2011-01-17 13:01:23 -06:00
Makefile
messaging.c
miscdev.c
mmap.c ecryptfs: remove unnecessary decrypt when extending a file 2011-01-17 13:01:25 -06:00
read_write.c
super.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00