diff options
author | Sage Weil <sage@newdream.net> | 2011-05-24 13:06:08 -0700 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-05-26 07:26:49 -0400 |
commit | a71905f0db41d4b2b01044fb40f97656fefc44a7 (patch) | |
tree | 31d286471b6d14be1a1531acf4b04d5fc8d47268 /fs/namei.c | |
parent | e4eaac06bcccb2a70bca6a2de9871882dce2aa14 (diff) | |
download | lwn-a71905f0db41d4b2b01044fb40f97656fefc44a7.tar.gz lwn-a71905f0db41d4b2b01044fb40f97656fefc44a7.zip |
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.c | 8 |
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) } /* - * 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 |