aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-02 22:40:57 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-02 22:40:57 -0500
commitae942ae71934fddd0639160c24f6efa703d5784e (patch)
treeeb5ee13ffa5e56805733c46299fbbac804bb5542
parent62d222b8c8ee0ddd3dd6921ce9c1a5667616dc1c (diff)
vfs: export full_name_hash() function to modules
Commit 5707c87f "vfs: uninline full_name_hash()" broke the modular build, because it needs exporting now that it isn't inlined any more. Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/namei.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 71807dc7e402..e2ba62820a0f 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -1381,6 +1381,7 @@ unsigned int full_name_hash(const unsigned char *name, unsigned int len)
1381 hash = partial_name_hash(*name++, hash); 1381 hash = partial_name_hash(*name++, hash);
1382 return end_name_hash(hash); 1382 return end_name_hash(hash);
1383} 1383}
1384EXPORT_SYMBOL(full_name_hash);
1384 1385
1385/* 1386/*
1386 * We know there's a real path component here of at least 1387 * We know there's a real path component here of at least