aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorCong Ding <dinggnu@gmail.com>2012-12-07 22:21:56 +0000
committerTyler Hicks <tyhicks@canonical.com>2012-12-18 10:10:13 -0600
commit37028758f92d0a3eb74bcfbecf6bc477072e9e28 (patch)
tree4596c9f0a276229f40b270bde8b56cc89a1d2c37 /fs/ecryptfs
parenteCryptfs: fix to use list_for_each_entry_safe() when delete items (diff)
downloadlinux-dev-37028758f92d0a3eb74bcfbecf6bc477072e9e28.tar.xz
linux-dev-37028758f92d0a3eb74bcfbecf6bc477072e9e28.zip
fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static
the function ecryptfs_encode_for_filename() is only used in this file Signed-off-by: Cong Ding <dinggnu@gmail.com> Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r--fs/ecryptfs/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index ea9931281557..a7b0c2dfb3db 100644
--- a/fs/ecryptfs/crypto.c
+++ b/fs/ecryptfs/crypto.c
@@ -1935,7 +1935,7 @@ static const unsigned char filename_rev_map[256] = {
* @src: Source location for the filename to encode
* @src_size: Size of the source in bytes
*/
-void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size,
+static void ecryptfs_encode_for_filename(unsigned char *dst, size_t *dst_size,
unsigned char *src, size_t src_size)
{
size_t num_blocks;