Skip to content

Commit 0058938

Browse files
author
Miklos Szeredi
committed
fuse: use dump_page
Instead of custom page dumping, use the standard helper. Reported-by: Matthew Wilcox <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
1 parent 7fd3abf commit 0058938

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/fuse/dev.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,8 +772,7 @@ static int fuse_check_page(struct page *page)
772772
1 << PG_lru |
773773
1 << PG_active |
774774
1 << PG_reclaim))) {
775-
pr_warn("trying to steal weird page\n");
776-
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);
775+
dump_page(page, "fuse: trying to steal weird page");
777776
return 1;
778777
}
779778
return 0;

0 commit comments

Comments
 (0)