summaryrefslogtreecommitdiff
path: root/fs/fuse
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:37 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-05-19 15:50:37 +0300
commita5005c3cda6eeb6b95645e6cc32f58dafeffc976 (patch)
tree4527b3ddf69c7ab139ee2fbc0b155e80d7904c33 /fs/fuse
parent00589386172ac577e64e3d67a3c5d4968174dcad (diff)
downloadlinux-a5005c3cda6eeb6b95645e6cc32f58dafeffc976.tar.xz
fuse: fix weird page warning
When PageWaiters was added, updating this check was missed. Reported-by: Nikolaus Rath <Nikolaus@rath.org> Reported-by: Hugh Dickins <hughd@google.com> Fixes: 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/fuse')
-rw-r--r--fs/fuse/dev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c
index 1cfc68f8fea9..b8962581c699 100644
--- a/fs/fuse/dev.c
+++ b/fs/fuse/dev.c
@@ -771,7 +771,8 @@ static int fuse_check_page(struct page *page)
1 << PG_uptodate |
1 << PG_lru |
1 << PG_active |
- 1 << PG_reclaim))) {
+ 1 << PG_reclaim |
+ 1 << PG_waiters))) {
dump_page(page, "fuse: trying to steal weird page");
return 1;
}