summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2012-02-15 11:48:40 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-31 16:03:17 -0400
commitc0d0259481cc6ec2a38cad810055e455de35c733 (patch)
tree20ca63134e34d408e075790bb2fd4bf375b89313
parentbad61189780ec0592cacde01a0775cb98a30efdc (diff)
downloadlinux-3.10-c0d0259481cc6ec2a38cad810055e455de35c733.tar.gz
linux-3.10-c0d0259481cc6ec2a38cad810055e455de35c733.tar.bz2
linux-3.10-c0d0259481cc6ec2a38cad810055e455de35c733.zip
vfs: fix out-of-date dentry_unhash() comment
64252c75a2196a0cf1e0d3777143ecfe0e3ae650 "vfs: remove dget() from dentry_unhash()" changed the implementation but not the comment. Cc: Sage Weil <sage@newdream.net> Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c
index fef80bfdc7a..1898198abc3 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2710,7 +2710,7 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode)
/*
* The dentry_unhash() helper will try to drop the dentry early: we
- * should have a usage count of 2 if we're the only user of this
+ * should have a usage count of 1 if we're the only user of this
* dentry, and if that is true (possibly after pruning the dcache),
* then we drop the dentry now.
*