提交 a71905f0 编写于 作者: S Sage Weil 提交者: Al Viro

vfs: update dentry_unhash() comment

The helper is now only called by file systems, not the VFS.
Signed-off-by: NSage Weil <sage@newdream.net>
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 e4eaac06
...@@ -2529,10 +2529,10 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode) ...@@ -2529,10 +2529,10 @@ SYSCALL_DEFINE2(mkdir, const char __user *, pathname, int, mode)
} }
/* /*
* We try to drop the dentry early: we should have * The dentry_unhash() helper will try to drop the dentry early: we
* a usage count of 2 if we're the only user of this * should have a usage count of 2 if we're the only user of this
* dentry, and if that is true (possibly after pruning * dentry, and if that is true (possibly after pruning the dcache),
* the dcache), then we drop the dentry now. * then we drop the dentry now.
* *
* A low-level filesystem can, if it choses, legally * A low-level filesystem can, if it choses, legally
* do a * do a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册