Commit 98cd281a authored by Jeff Layton's avatar Jeff Layton Committed by Ilya Dryomov

ceph: remove incorrect comment above __send_cap

It doesn't do anything to invalidate the cache when dropping RD caps.
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Reviewed-by: default avatar"Yan, Zheng" <zyan@redhat.com>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent daca8bda
...@@ -1260,10 +1260,6 @@ void __ceph_remove_caps(struct ceph_inode_info *ci) ...@@ -1260,10 +1260,6 @@ void __ceph_remove_caps(struct ceph_inode_info *ci)
* Make note of max_size reported/requested from mds, revoked caps * Make note of max_size reported/requested from mds, revoked caps
* that have now been implemented. * that have now been implemented.
* *
* Make half-hearted attempt ot to invalidate page cache if we are
* dropping RDCACHE. Note that this will leave behind locked pages
* that we'll then need to deal with elsewhere.
*
* Return non-zero if delayed release, or we experienced an error * Return non-zero if delayed release, or we experienced an error
* such that the caller should requeue + retry later. * such that the caller should requeue + retry later.
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment