summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-02 19:40:57 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-02 19:40:57 -0800
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)
hash = partial_name_hash(*name++, hash);
return end_name_hash(hash);
}
+EXPORT_SYMBOL(full_name_hash);
/*
* We know there's a real path component here of at least