Fam Zheng 4f6fd3491c block: make bdrv_delete() static
Manage BlockDriverState lifecycle with refcnt, so bdrv_delete() is no
longer public and should be called by bdrv_unref() if refcnt is
decreased to 0.

This is an identical change because effectively, there's no multiple
reference of BDS now: no caller of bdrv_ref() yet, only bdrv_new() sets
bs->refcnt to 1, so all bdrv_unref() now actually delete the BDS.

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-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-08-19 15:52:19 +02:00
2013-09-06 15:25:08 +02:00
2013-08-19 15:52:19 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-08-19 15:52:19 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-08-19 15:52:19 +02:00
2013-09-06 15:25:08 +02:00
2013-09-06 15:25:08 +02:00
2013-06-28 10:21:00 +02:00
2013-09-06 15:25:08 +02:00