public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static
@ 2012-12-07 22:21 Cong Ding
  0 siblings, 0 replies; only message in thread
From: Cong Ding @ 2012-12-07 22:21 UTC (permalink / raw)
  To: Tyler Hicks, Dustin Kirkland, ecryptfs, linux-kernel; +Cc: Cong Ding

the function ecryptfs_encode_for_filename() is only used in this file

Signed-off-by: Cong Ding <dinggnu@gmail.com>
---
 fs/ecryptfs/crypto.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index ea99312..a7b0c2d 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;
-- 
1.7.4.5


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-07 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-07 22:21 [PATCH] fs/ecryptfs/crypto.c: make ecryptfs_encode_for_filename() static Cong Ding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox