aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
authorMichael Halcrow <mhalcrow@us.ibm.com>2007-10-16 04:28:13 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:12 -0400
commitb6c1d8fcbadeb9bb4c3dbca57a007629d0483544 (patch)
treeba786993ce9b16f0dcc25cdab05af8a3fef636ed /fs/ecryptfs/ecryptfs_kernel.h
parent035241d30e273519195a9987e6eb56bbe2297872 (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.h21
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);
552void ecryptfs_destroy_mount_crypt_stat( 552void ecryptfs_destroy_mount_crypt_stat(
553 struct ecryptfs_mount_crypt_stat *mount_crypt_stat); 553 struct ecryptfs_mount_crypt_stat *mount_crypt_stat);
554int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat); 554int ecryptfs_init_crypt_ctx(struct ecryptfs_crypt_stat *crypt_stat);
555int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptefs_inode); 555int ecryptfs_write_inode_size_to_metadata(struct inode *ecryptfs_inode);
556int 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);
560int
561ecryptfs_commit_lower_page(struct page *lower_page, struct inode *lower_inode,
562 struct file *lower_file, int byte_offset,
563 int region_size);
564int ecryptfs_copy_page_to_lower(struct page *page, struct inode *lower_inode,
565 struct file *lower_file);
566int ecryptfs_do_readpage(struct file *file, struct page *page,
567 pgoff_t lower_page_index);
568int ecryptfs_writepage_and_release_lower_page(struct page *lower_page,
569 struct inode *lower_inode,
570 struct writeback_control *wbc);
571int ecryptfs_encrypt_page(struct page *page); 556int ecryptfs_encrypt_page(struct page *page);
572int ecryptfs_decrypt_page(struct page *page); 557int ecryptfs_decrypt_page(struct page *page);
573int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry); 558int ecryptfs_write_metadata(struct dentry *ecryptfs_dentry);
@@ -591,10 +576,6 @@ int ecryptfs_truncate(struct dentry *dentry, loff_t new_length);
591int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode); 576int ecryptfs_inode_test(struct inode *inode, void *candidate_lower_inode);
592int ecryptfs_inode_set(struct inode *inode, void *lower_inode); 577int ecryptfs_inode_set(struct inode *inode, void *lower_inode);
593void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode); 578void ecryptfs_init_inode(struct inode *inode, struct inode *lower_inode);
594int ecryptfs_open_lower_file(struct file **lower_file,
595 struct dentry *lower_dentry,
596 struct vfsmount *lower_mnt, int flags);
597int ecryptfs_close_lower_file(struct file *lower_file);
598ssize_t ecryptfs_getxattr(struct dentry *dentry, const char *name, void *value, 579ssize_t ecryptfs_getxattr(struct dentry *dentry, const char *name, void *value,
599 size_t size); 580 size_t size);
600ssize_t 581ssize_t