diff options
Diffstat (limited to 'fs/ceph/caps.c')
-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))) { |