Skip to contentSkip to conversation

ceph: don't ClearPageChecked in ceph_invalidatepage

PATCH New Jeff Layton 1 participant 1 message Feb 4, 2020 Ceph client

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ceph: don't ClearPageChecked in ceph_invalidatepage

CephFS doesn't set this bit to begin with, so there should be no need to clear it.

---
 fs/ceph/addr.c | 2 --
 1 file changed, 2 deletions(-)
fs/ceph/addr.c +0 -2
index 7ab616601141..6067847bc03b 100644
@@ -159,8 +159,6 @@ static void ceph_invalidatepage(struct page *page, unsigned int offset,
 	if (!PagePrivate(page))
 		return;
 
-	ClearPageChecked(page);
-
 	dout("%p invalidatepage %p idx %lu full dirty page\n",
 	     inode, page, page->index);
 
Signature · 1 line
2.24.1