Comments

Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
> Previously, nbd calls drive_get_ref() on the drive of bs. A BDS doesn't> always have associated dinfo, which nbd doesn't care either. We already> have BDS ref count, so use it to make it safe for a BDS w/o blockdev.> > Signed-off-by: Fam Zheng <famz@redhat.com>