summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2012-03-03 04:40:57 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-03 04:40:57 +0100
commitae942ae71934fddd0639160c24f6efa703d5784e (patch)
treeeb5ee13ffa5e56805733c46299fbbac804bb5542 /fs/namei.c
parentMerge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadlinux-ae942ae71934fddd0639160c24f6efa703d5784e.tar.xz
linux-ae942ae71934fddd0639160c24f6efa703d5784e.zip
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>
Diffstat (limited to 'fs/namei.c')
-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