Commit 00589386 authored by Miklos Szeredi's avatar Miklos Szeredi

fuse: use dump_page

Instead of custom page dumping, use the standard helper.
Reported-by: default avatarMatthew Wilcox <willy@infradead.org>
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent 7fd3abfa
...@@ -772,8 +772,7 @@ static int fuse_check_page(struct page *page) ...@@ -772,8 +772,7 @@ static int fuse_check_page(struct page *page)
1 << PG_lru | 1 << PG_lru |
1 << PG_active | 1 << PG_active |
1 << PG_reclaim))) { 1 << PG_reclaim))) {
pr_warn("trying to steal weird page\n"); dump_page(page, "fuse: trying to steal weird page");
pr_warn(" page=%p index=%li flags=%08lx, count=%i, mapcount=%i, mapping=%p\n", page, page->index, page->flags, page_count(page), page_mapcount(page), page->mapping);
return 1; return 1;
} }
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment