Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc12c80a authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Sage Weil
Browse files

ceph: trivial comment fix



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

Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Reviewed-by: default avatarSage Weil <sage@inktank.com>
parent f2be82b0
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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))) {