From: Miklos Szeredi Date: Tue, 19 May 2020 12:50:37 +0000 (+0200) Subject: fuse: fix weird page warning X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a5005c3cda6eeb6b95645e6cc32f58dafeffc976;p=linux.git fuse: fix weird page warning When PageWaiters was added, updating this check was missed. Reported-by: Nikolaus Rath Reported-by: Hugh Dickins Fixes: 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") Signed-off-by: Miklos Szeredi --- diff --git a/fs/fuse/dev.c b/fs/fuse/dev.c index 1cfc68f8fea9c..b8962581c6992 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; }