summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorZhaolei <zhaolei@cn.fujitsu.com>2008-12-01 23:34:58 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2009-01-01 00:07:40 +0100
commitbe42c4c433c2c0d3f1583c08908fead00d36d222 (patch)
tree4553430fa44429b1127a4ef8649380b3bce4f9eb /fs/dcache.c
parentfix switch_names() breakage in short-to-short case (diff)
downloadlinux-be42c4c433c2c0d3f1583c08908fead00d36d222.tar.xz
linux-be42c4c433c2c0d3f1583c08908fead00d36d222.zip
correct wrong function name of d_put in kernel document and source comment
no function named d_put(), it should be dput(). Impact: fix document and comment, no functionality changed Signed-off-by: Zhao Lei <zhaolei@cn.fuijtsu.com> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index eeafc14c2a14..c231a639c2a2 100644
--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -1332,7 +1332,7 @@ err_out:
*
* Searches the children of the parent dentry for the name in question. If
* the dentry is found its reference count is incremented and the dentry
- * is returned. The caller must use d_put to free the entry when it has
+ * is returned. The caller must use dput to free the entry when it has
* finished using it. %NULL is returned on failure.
*
* __d_lookup is dcache_lock free. The hash list is protected using RCU.