Xiubo Li 642d51fb07 ceph: check folio PG_private bit instead of folio->private
The pages in the file mapping maybe reclaimed and reused by other
subsystems and the page->private maybe used as flags field or
something else, if later that pages are used by page caches again
the page->private maybe not cleared as expected.

Here will check the PG_private bit instead of the folio->private.

Cc: stable@vger.kernel.org
URL: https://tracker.ceph.com/issues/55421
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Luis Henriques <lhenriques@suse.de>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-05-10 09:48:31 +02:00
..
2022-03-18 09:29:05 +00:00
2022-03-31 15:49:36 -07:00
2022-03-31 15:49:36 -07:00
2022-01-11 22:13:01 +00:00
2020-06-01 13:22:51 +02:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-01 18:26:37 +01:00
2022-03-24 18:32:48 -07:00
2022-03-31 15:49:36 -07:00
2022-03-01 18:26:37 +01:00