aboutsummaryrefslogtreecommitdiff
path: root/fs/namei.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-24 13:06:08 -0700
committerAl Viro <viro@zeniv.linux.org.uk>2011-05-26 07:26:49 -0400
commita71905f0db41d4b2b01044fb40f97656fefc44a7 (patch)
tree31d286471b6d14be1a1531acf4b04d5fc8d47268 /fs/namei.c
parente4eaac06bcccb2a70bca6a2de9871882dce2aa14 (diff)
vfs: update dentry_unhash() comment
The helper is now only called by file systems, not the VFS. Signed-off-by: Sage Weil <sage@newdream.net> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namei.c')
-rw-r--r--fs/namei.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/namei.c b/fs/namei.c
index 787ebc8a200..4c5cbd5371a 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2529,10 +2529,10 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode)
}
/*
- * We try to drop the dentry early: we should have
- * a usage count of 2 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.
+ * 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
+ * dentry, and if that is true (possibly after pruning the dcache),
+ * then we drop the dentry now.
*
* A low-level filesystem can, if it choses, legally
* do a