Skip to content

Commit a5005c3

Browse files
author
Miklos Szeredi
committed
fuse: fix weird page warning
When PageWaiters was added, updating this check was missed. Reported-by: Nikolaus Rath <[email protected]> Reported-by: Hugh Dickins <[email protected]> Fixes: 6290602 ("mm: add PageWaiters indicating tasks are waiting for a page bit") Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 0058938 commit a5005c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/fuse/dev.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,8 @@ static int fuse_check_page(struct page *page)
771771
1 << PG_uptodate |
772772
1 << PG_lru |
773773
1 << PG_active |
774-
1 << PG_reclaim))) {
774+
1 << PG_reclaim |
775+
1 << PG_waiters))) {
775776
dump_page(page, "fuse: trying to steal weird page");
776777
return 1;
777778
}

0 commit comments

Comments
 (0)