projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad6118
)
vfs: fix out-of-date dentry_unhash() comment
author
J. Bruce Fields
<
[email protected]
>
Wed, 15 Feb 2012 16:48:40 +0000
(11:48 -0500)
committer
Al Viro
<
[email protected]
>
Sat, 31 Mar 2012 20:03:17 +0000
(16:03 -0400)
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]
>
Signed-off-by: Al Viro <
[email protected]
>
fs/namei.c
patch
|
blob
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index fef80bfdc7a4f633f9eb3b2371a67b3c0357b7c5..1898198abc3d10ed4126c73ab24035f0c796a877 100644
(file)
--- 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.
*