summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2014-01-16 17:42:53 -0500
committerSage Weil <sage@inktank.com>2014-01-16 16:03:50 -0800
commitfc12c80aa57ee90385dc90e4263ec1a66200ba76 (patch)
tree1b9628de4e4ad4a50f9d2a4a376e3726958178a3 /fs/ceph
parentf2be82b0058e90b5d9ac2cb896b4914276fb50ef (diff)
downloadop-kernel-dev-fc12c80aa57ee90385dc90e4263ec1a66200ba76.zip
op-kernel-dev-fc12c80aa57ee90385dc90e4263ec1a66200ba76.tar.gz
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>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/caps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index 9289c6b2..80dad0d 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -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))) {
OpenPOWER on IntegriCloud