ceph: don't ClearPageChecked in ceph_invalidatepage
diff mbox series

Message ID 20200204175256.362163-1-jlayton@kernel.org
State New
Headers show
  • ceph: don't ClearPageChecked in ceph_invalidatepage
Related show

Commit Message

Jeff Layton Feb. 4, 2020, 5:52 p.m. UTC
CephFS doesn't set this bit to begin with, so there should be no need
to clear it.

Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
 fs/ceph/addr.c | 2 --
 1 file changed, 2 deletions(-)

diff mbox series

diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index 7ab616601141..6067847bc03b 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -159,8 +159,6 @@  static void ceph_invalidatepage(struct page *page, unsigned int offset,
 	if (!PagePrivate(page))
-	ClearPageChecked(page);
 	dout("%p invalidatepage %p idx %lu full dirty page\n",
 	     inode, page, page->index);