fs/ecryptfs/: possible cleanups
- make the following needlessly global code static: - crypto.c:ecryptfs_lower_offset_for_extent() - crypto.c:key_tfm_list - crypto.c:key_tfm_list_mutex - inode.c:ecryptfs_getxattr() - main.c:ecryptfs_init_persistent_file() - remove the no longer used mmap.c:ecryptfs_lower_page_cache - #if 0 the unused read_write.c:ecryptfs_read() Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
162c0d91a3
commit
7896b63182
@@ -293,6 +293,7 @@ int ecryptfs_read_lower_page_segment(struct page *page_for_ecryptfs,
|
||||
return rc;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* ecryptfs_read
|
||||
* @data: The virtual address into which to write the data read (and
|
||||
@@ -371,3 +372,4 @@ int ecryptfs_read(char *data, loff_t offset, size_t size,
|
||||
out:
|
||||
return rc;
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
Reference in New Issue
Block a user