aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-05-24 16:06:08 -0400
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 787ebc8a200a..4c5cbd5371a3 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2529,10 +2529,10 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode)
2529} 2529}
2530 2530
2531/* 2531/*
2532 * We try to drop the dentry early: we should have 2532 * The dentry_unhash() helper will try to drop the dentry early: we
2533 * a usage count of 2 if we're the only user of this 2533 * should have a usage count of 2 if we're the only user of this
2534 * dentry, and if that is true (possibly after pruning 2534 * dentry, and if that is true (possibly after pruning the dcache),
2535 * the dcache), then we drop the dentry now. 2535 * then we drop the dentry now.
2536 * 2536 *
2537 * A low-level filesystem can, if it choses, legally 2537 * A low-level filesystem can, if it choses, legally
2538 * do a 2538 * do a