提交 fc12c80a 编写于 作者: J J. Bruce Fields 提交者: Sage Weil

ceph: trivial comment fix

"disconnected" is too easily confused with "DCACHE_DISCONNECTED".  I
think "unhashed" is the more precise term here.
Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
Reviewed-by: NSage Weil <sage@inktank.com>
上级 f2be82b0
无相关合并请求
......@@ -2350,11 +2350,11 @@ static void invalidate_aliases(struct inode *inode)
d_prune_aliases(inode);
/*
* For non-directory inode, d_find_alias() only returns
* connected dentry. After calling d_invalidate(), the
* dentry become disconnected.
* hashed dentry. After calling d_invalidate(), the
* dentry becomes unhashed.
*
* For directory inode, d_find_alias() can return
* disconnected dentry. But directory inode should have
* unhashed dentry. But directory inode should have
* one alias at most.
*/
while ((dn = d_find_alias(inode))) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部