mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-08-02 06:43:00 +00:00
page-read: Warn about async read w/o completion cb
Acked-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
aae3cd6356
commit
3e151f025d
1 changed files with 2 additions and 0 deletions
|
|
@ -445,6 +445,8 @@ static int read_page_complete(unsigned long img_id, unsigned long vaddr, int nr_
|
|||
|
||||
if (pr->io_complete)
|
||||
ret = pr->io_complete(pr, vaddr, nr_pages);
|
||||
else
|
||||
pr_warn_once("Remote page read w/o io_complete!\n");
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue