ceph: trivial comment fix

"disconnected" is too easily confused with "DCACHE_DISCONNECTED".  I
think "unhashed" is the more precise term here.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
J. Bruce Fields 2014-01-16 17:42:53 -05:00 committed by Sage Weil
parent f2be82b005
commit fc12c80aa5
1 changed files with 3 additions and 3 deletions

View File

@ -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))) {