diff options
author | J. Bruce Fields <bfields@redhat.com> | 2014-01-16 17:42:53 -0500 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2014-01-16 19:03:50 -0500 |
commit | fc12c80aa57ee90385dc90e4263ec1a66200ba76 (patch) | |
tree | 1b9628de4e4ad4a50f9d2a4a376e3726958178a3 /fs/ceph | |
parent | f2be82b0058e90b5d9ac2cb896b4914276fb50ef (diff) |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 9289c6b2f1bb..80dad0d491a3 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c | |||
@@ -2350,11 +2350,11 @@ static void invalidate_aliases(struct inode *inode) | |||
2350 | d_prune_aliases(inode); | 2350 | d_prune_aliases(inode); |
2351 | /* | 2351 | /* |
2352 | * For non-directory inode, d_find_alias() only returns | 2352 | * For non-directory inode, d_find_alias() only returns |
2353 | * connected dentry. After calling d_invalidate(), the | 2353 | * hashed dentry. After calling d_invalidate(), the |
2354 | * dentry become disconnected. | 2354 | * dentry becomes unhashed. |
2355 | * | 2355 | * |
2356 | * For directory inode, d_find_alias() can return | 2356 | * For directory inode, d_find_alias() can return |
2357 | * disconnected dentry. But directory inode should have | 2357 | * unhashed dentry. But directory inode should have |
2358 | * one alias at most. | 2358 | * one alias at most. |
2359 | */ | 2359 | */ |
2360 | while ((dn = d_find_alias(inode))) { | 2360 | while ((dn = d_find_alias(inode))) { |