Fam Zheng 13c91cb7e2 iscsi: use bdrv_new() instead of stack structure
BlockDriverState structure needs bdrv_new() to initialize refcnt, don't
allocate a local structure variable and memset to 0, becasue with coming
refcnt implementation, bdrv_unref will crash if bs->refcnt not
initialized to 1.

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-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-09-02 10:15:15 +02:00
2013-01-15 10:03:47 +01:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-08-19 15:52:19 +02:00
2013-08-22 15:35:58 +02:00
2013-06-28 10:21:00 +02:00