From: J. Bruce Fields Date: Wed, 15 Feb 2012 16:48:40 +0000 (-0500) Subject: vfs: fix out-of-date dentry_unhash() comment X-Git-Tag: firefly_0821_release~3680^2~3163^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0d0259481cc6ec2a38cad810055e455de35c733;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: J. Bruce Fields Signed-off-by: Al Viro --- diff --git a/fs/namei.c b/fs/namei.c index fef80bfdc7a4..1898198abc3d 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. *