Fix compile warnings: ignoring return value of 'xenbus_register_backend' ..
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 8 Oct 2009 17:23:09 +0000 (13:23 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 14 Apr 2011 22:26:07 +0000 (18:26 -0400)
commit8770b2683f9f98d4c1d6caf2e28f625592bba4f3
treec0802accb3d22c29aaba1dc6428b0d77458a9897
parentafd91d07ff72919071e37086c0664384b3875688
Fix compile warnings: ignoring return value of 'xenbus_register_backend' ..

We neglect to check the return value of xenbus_register_backend
and take actions when that fails. This patch fixes that and adds
code to deal with those type of failures.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/blkback/blkback.c
drivers/xen/blkback/common.h
drivers/xen/blkback/interface.c
drivers/xen/blkback/xenbus.c