kernel-hacking-2024-linux-s.../fs/ecryptfs
Thieu Le 57db4e8d73 ecryptfs: modify write path to encrypt page in writepage
Change the write path to encrypt the data only when the page is written to
disk in ecryptfs_writepage. Previously, ecryptfs encrypts the page in
ecryptfs_write_end which means that if there are multiple write requests to
the same page, ecryptfs ends up re-encrypting that page over and over again.
This patch minimizes the number of encryptions needed.

Signed-off-by: Thieu Le <thieule@chromium.org>
[tyhicks: Changed NULL .drop_inode sop pointer to generic_drop_inode]
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2011-03-28 01:47:45 -05:00
..
crypto.c eCryptfs: Remove unnecessary grow_file() function 2011-03-28 01:47:43 -05:00
debug.c
dentry.c eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
ecryptfs_kernel.h ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00
file.c ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00
inode.c eCryptfs: Remove ECRYPTFS_NEW_FILE crypt stat flag 2011-03-28 01:47:44 -05:00
Kconfig
keystore.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
kthread.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
main.c ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00
Makefile
messaging.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
miscdev.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
mmap.c ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00
read_write.c ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00
super.c ecryptfs: modify write path to encrypt page in writepage 2011-03-28 01:47:45 -05:00