WSL2-Linux-Kernel/fs/ceph
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
..
Kconfig ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
Makefile
acl.c
addr.c ceph: check folio PG_private bit instead of folio->private 2022-05-10 09:48:31 +02:00
cache.c netfs: Add a netfs inode context 2022-03-18 09:29:05 +00:00
cache.h Netfs prep for write helpers 2022-03-31 15:49:36 -07:00
caps.c ceph: fix possible NULL pointer dereference for req->r_session 2022-04-25 10:45:50 +02:00
ceph_frag.c
debugfs.c ceph: use tracked average r/w/m latencies to display metrics in debugfs 2022-03-21 13:35:16 +01:00
dir.c ceph: fix memory leak in ceph_readdir when note_last_dentry returns error 2022-03-21 13:35:16 +01:00
export.c ceph: shut down access to inode when async create fails 2021-11-08 03:29:51 +01:00
file.c ceph: fix setting of xattrs on async created inodes 2022-05-10 09:48:31 +02:00
inode.c Netfs prep for write helpers 2022-03-31 15:49:36 -07:00
io.c
io.h
ioctl.c
ioctl.h
locks.c ceph: eliminate req->r_wait_for_completion from ceph_mds_request 2022-03-01 18:26:36 +01:00
mds_client.c ceph: remove incorrect session state check 2022-04-25 10:45:15 +02:00
mds_client.h ceph: add getvxattr op 2022-03-01 18:26:37 +01:00
mdsmap.c ceph: fix mdsmap decode when there are MDS's beyond max_mds 2021-11-08 03:29:52 +01:00
metric.c ceph: include average/stdev r/w/m latency in mds metrics 2022-03-21 13:35:16 +01:00
metric.h ceph: include average/stdev r/w/m latency in mds metrics 2022-03-21 13:35:16 +01:00
quota.c ceph: don't check for quotas on MDS stray dirs 2022-01-13 13:40:07 +01:00
snap.c ceph: misc fix for code style and logs 2022-03-01 18:26:37 +01:00
strings.c ceph: add getvxattr op 2022-03-01 18:26:37 +01:00
super.c The highlights are: 2022-03-24 18:32:48 -07:00
super.h Netfs prep for write helpers 2022-03-31 15:49:36 -07:00
util.c
xattr.c ceph: add getvxattr op 2022-03-01 18:26:37 +01:00