summaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2019-07-05 19:11:51 +0200
committerIlya Dryomov <idryomov@gmail.com>2019-09-16 12:06:24 +0200
commit98cd281a76bdf482dd47b282e277c76840ba8eef (patch)
tree943cbcea70d108a92e6f16d396aeca388ccdfc13 /fs/ceph
parentceph: remove CEPH_I_NOFLUSH (diff)
downloadlinux-98cd281a76bdf482dd47b282e277c76840ba8eef.tar.xz
linux-98cd281a76bdf482dd47b282e277c76840ba8eef.zip
ceph: remove incorrect comment above __send_cap
It doesn't do anything to invalidate the cache when dropping RD caps. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: "Yan, Zheng" <zyan@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/caps.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c
index b1c80d837d0d..d3b9c9d5c1bd 100644
--- a/fs/ceph/caps.c
+++ b/fs/ceph/caps.c
@@ -1260,10 +1260,6 @@ void __ceph_remove_caps(struct ceph_inode_info *ci)
* Make note of max_size reported/requested from mds, revoked caps
* 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
* such that the caller should requeue + retry later.
*