]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ceph: trivial comment fix
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 16 Jan 2014 22:42:53 +0000 (17:42 -0500)
committerSage Weil <sage@inktank.com>
Fri, 17 Jan 2014 00:03:50 +0000 (16:03 -0800)
"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>
fs/ceph/caps.c

index 9289c6b2f1bb1acc1a3bd8d42436ee4215186f72..80dad0d491a325de3d3bf9b44a92f3ba68536dfe 100644 (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))) {