diff options
author | Jeff Layton <jlayton@kernel.org> | 2020-02-04 15:37:48 +0100 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-03-30 12:42:40 +0200 |
commit | 70837470b41e5d0e8d655348067219b915def0c7 (patch) | |
tree | 76ff7f9637b5d5d08ea809521a6a0a544287da65 /fs | |
parent | rbd: remove barriers from img_request_layered_{set,clear,test}() (diff) | |
download | linux-70837470b41e5d0e8d655348067219b915def0c7.tar.xz linux-70837470b41e5d0e8d655348067219b915def0c7.zip |
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.
Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ceph/addr.c | 2 |
1 files changed, 0 insertions, 2 deletions
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)) return; - ClearPageChecked(page); - dout("%p invalidatepage %p idx %lu full dirty page\n", inode, page, page->index); |