xen/grant-table: add error-handling code on failure of gnttab_resume
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 15 Apr 2012 09:27:12 +0000 (11:27 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 17 Apr 2012 04:29:32 +0000 (00:29 -0400)
commit6b5e7d9ef793c55d72679f058514f33c4258f286
treebf1141323d954701cabe8059f3afbabd813da813
parentf09d8432e39797abf39531f41ac8a46a3fbf442a
xen/grant-table: add error-handling code on failure of gnttab_resume

Jump to the label ini_nomem as done on the failure of the page allocations
above.

The code at ini_nomem is modified to accommodate different return values.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/grant-table.c