Fam Zheng c0777fe18b xen_disk: simplify blk_disconnect with refcnt
We call bdrv_attach_dev when initializing whether or not bs is created
locally, so call bdrv_detach_dev and let the refcnt handle the
lifecycle.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2013-09-06 15:25:08 +02:00
..
2013-09-03 12:25:55 +02:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:33:32 -05:00
2013-09-03 12:30:51 -05:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:33:32 -05:00
2013-07-29 21:07:02 +02:00
2013-09-03 12:33:32 -05:00
2013-09-03 12:30:51 -05:00
2013-07-31 23:25:41 +02:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:33:32 -05:00
2013-08-28 10:16:47 +03:00
2013-09-03 12:31:07 -05:00
2013-08-22 19:10:27 +02:00
2013-09-03 12:31:07 -05:00
2013-09-03 12:31:07 -05:00