mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 16:15:11 +00:00
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: 6290602709
("mm: add PageWaiters indicating tasks are waiting for a page bit")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
0058938617
commit
a5005c3cda
1 changed files with 2 additions and 1 deletions
|
@ -771,7 +771,8 @@ static int fuse_check_page(struct page *page)
|
||||||
1 << PG_uptodate |
|
1 << PG_uptodate |
|
||||||
1 << PG_lru |
|
1 << PG_lru |
|
||||||
1 << PG_active |
|
1 << PG_active |
|
||||||
1 << PG_reclaim))) {
|
1 << PG_reclaim |
|
||||||
|
1 << PG_waiters))) {
|
||||||
dump_page(page, "fuse: trying to steal weird page");
|
dump_page(page, "fuse: trying to steal weird page");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue