vfs: fix out-of-date dentry_unhash() comment
PATCH 1/1 vfs: fix out-of-date dentry_unhash() comment
From: "J. Bruce Fields" <[email protected]>
64252c75a2196a0cf1e0d3777143ecfe0e3ae650 "vfs: remove dget() from dentry_unhash()" changed the implementation but not the comment.
Cc Sage Weil <[email protected]>
Signed-off-by J. Bruce Fields <[email protected]>
--- fs/namei.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
I stumbled across this comment nit while looking for something else.
fs/namei.c +1 -1
@@ -2598,7 +2598,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. *
Signature · 1 line
1.7.5.4