diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-02-12 03:53:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:37 -0500 |
commit | 9d8b8ce5561890464c54645cdea4d6b157159fec (patch) | |
tree | 94e7f2cdd3a392806ba7b35e5d2722024ddf4098 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 70456600f42f85cfcbdd9d7a6029c03b6f9c5d1e (diff) |
[PATCH] eCryptfs: convert kmap() to kmap_atomic()
Replace kmap() with kmap_atomic(). Reduce the amount of time that mappings
are held.
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Trevor Highland <tshighla@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r-- | fs/ecryptfs/ecryptfs_kernel.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index ec526df4235..31e628a3a1f 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h | |||
@@ -514,10 +514,6 @@ int ecryptfs_copy_page_to_lower(struct page *page, struct inode *lower_inode, | |||
514 | struct file *lower_file); | 514 | struct file *lower_file); |
515 | int ecryptfs_do_readpage(struct file *file, struct page *page, | 515 | int ecryptfs_do_readpage(struct file *file, struct page *page, |
516 | pgoff_t lower_page_index); | 516 | pgoff_t lower_page_index); |
517 | int ecryptfs_grab_and_map_lower_page(struct page **lower_page, | ||
518 | char **lower_virt, | ||
519 | struct inode *lower_inode, | ||
520 | unsigned long lower_page_index); | ||
521 | int ecryptfs_writepage_and_release_lower_page(struct page *lower_page, | 517 | int ecryptfs_writepage_and_release_lower_page(struct page *lower_page, |
522 | struct inode *lower_inode, | 518 | struct inode *lower_inode, |
523 | struct writeback_control *wbc); | 519 | struct writeback_control *wbc); |