diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-10-16 04:28:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:12 -0400 |
commit | b6c1d8fcbadeb9bb4c3dbca57a007629d0483544 (patch) | |
tree | ba786993ce9b16f0dcc25cdab05af8a3fef636ed /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 035241d30e273519195a9987e6eb56bbe2297872 (diff) |
eCryptfs: remove unused functions and kmem_cache
The switch to read_write.c routines and the persistent file make a number of
functions unnecessary. This patch removes them.
Signed-off-by: Michael Halcrow <mhalcrow@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 | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index 3e52b42fba06..bb92b74d66e9 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h | |||
@@ -552,22 +552,7 @@ void ecryptfs_destroy_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat); | |||
552 | void ecryptfs_destroy_mount_crypt_stat( | 552 | void ecryptfs_destroy_mount_crypt_stat( |
553 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat); | 553 | struct ecryptfs_mount_crypt_stat *mount_crypt_stat); |
554 | int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat); | 554 | int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat); |
555 | int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptefs_inode); | 555 | int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode); |
556 | int ecryptfs_get_lower_page(struct page **lower_page, struct inode *lower_inode, | ||
557 | struct file *lower_file, | ||
558 | unsigned long lower_page_index, int byte_offset, | ||
559 | int region_bytes); | ||
560 | int | ||
561 | ecryptfs_commit_lower_page(struct page *lower_page, struct inode *lower_inode, | ||
562 | struct file *lower_file, int byte_offset, | ||
563 | int region_size); | ||
564 | int ecryptfs_copy_page_to_lower(struct page *page, struct inode *lower_inode, | ||
565 | struct file *lower_file); | ||
566 | int ecryptfs_do_readpage(struct file *file, struct page *page, | ||
567 | pgoff_t lower_page_index); | ||
568 | int ecryptfs_writepage_and_release_lower_page(struct page *lower_page, | ||
569 | struct inode *lower_inode, | ||
570 | struct writeback_control *wbc); | ||
571 | int ecryptfs_encrypt_page(struct page *page); | 556 | int ecryptfs_encrypt_page(struct page *page); |
572 | int ecryptfs_decrypt_page(struct page *page); | 557 | int ecryptfs_decrypt_page(struct page *page); |
573 | int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry); | 558 | int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry); |
@@ -591,10 +576,6 @@ int ecryptfs_truncate(struct dentry *dentry, loff_t new_length); | |||
591 | int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode); | 576 | int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode); |
592 | int ecryptfs_inode_set(struct inode *inode, void *lower_inode); | 577 | int ecryptfs_inode_set(struct inode *inode, void *lower_inode); |
593 | void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode); | 578 | void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode); |
594 | int ecryptfs_open_lower_file(struct file **lower_file, | ||
595 | struct dentry *lower_dentry, | ||
596 | struct vfsmount *lower_mnt, int flags); | ||
597 | int ecryptfs_close_lower_file(struct file *lower_file); | ||
598 | ssize_t ecryptfs_getxattr(struct dentry *dentry, const char *name, void *value, | 579 | ssize_t ecryptfs_getxattr(struct dentry *dentry, const char *name, void *value, |
599 | size_t size); | 580 | size_t size); |
600 | ssize_t | 581 | ssize_t |