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
..
2011-03-23 19:47:13 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-02-25 11:12:37 -08:00
2011-03-24 14:54:35 -04:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-21 12:24:26 -07:00
2011-03-10 08:52:07 +01:00
2011-03-22 17:44:16 -07:00
2011-03-22 17:44:17 -07:00
2011-03-10 13:22:34 -06:00
2011-03-28 01:47:45 -05:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-15 02:21:44 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-25 09:57:41 -07:00
2011-03-24 10:16:26 -07:00
2011-03-10 08:52:07 +01:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-22 17:44:02 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 19:01:30 -07:00
2011-03-24 10:16:26 -07:00
2011-03-17 14:02:57 +01:00
2011-03-24 17:03:14 -04:00
2011-03-22 20:03:52 -04:00
2011-03-24 08:20:39 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:17:51 -04:00
2011-03-24 19:01:30 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 20:51:42 -07:00
2011-03-22 16:01:49 -07:00
2011-03-10 08:52:07 +01:00
2011-03-24 21:16:32 -04:00
2011-03-24 10:16:26 -07:00
2011-03-22 23:01:26 +00:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-03-23 20:51:42 -07:00
2011-03-17 11:11:05 +01:00
2011-03-24 10:16:26 -07:00
2011-03-24 19:01:30 -07:00
2011-03-24 19:01:30 -07:00
2011-03-21 00:16:08 -04:00
2011-03-18 10:51:11 -07:00
2011-03-24 10:16:26 -07:00
2011-03-24 21:16:32 -04:00
2011-03-22 17:44:15 -07:00
2011-03-21 00:16:09 -04:00
2011-03-23 19:47:13 -07:00
2011-03-15 02:21:44 -04:00
2011-03-21 00:16:09 -04:00
2011-03-16 13:26:17 -07:00
2011-03-24 21:17:51 -04:00
2011-03-23 19:47:13 -07:00
2011-03-24 21:17:52 -04:00
2011-03-24 21:17:51 -04:00
2011-03-21 00:16:08 -04:00
2011-03-16 19:01:29 -07:00
2011-03-24 08:20:39 -07:00
2011-03-16 19:01:29 -07:00
2011-03-10 08:52:26 +01:00
2011-03-24 14:24:32 -04:00
2011-03-22 17:44:10 -07:00
2011-03-14 09:15:28 -04:00
2011-03-21 01:10:41 -04:00
2011-03-21 00:16:08 -04:00
2011-03-15 02:21:45 -04:00
2011-03-14 09:15:28 -04:00
2011-03-24 10:16:26 -07:00
2011-03-24 10:16:26 -07:00
2011-03-23 19:47:13 -07:00
2011-03-23 19:47:13 -07:00