Re: [Qemu-block] [PATCH v5 22/38] block: Prepare for NULL BDS

2015-10-07 Thread Kevin Wolf
Am 18.09.2015 um 17:22 hat Max Reitz geschrieben: > blk_bs() will not necessarily return a non-NULL value any more (unless > blk_is_available() is true or it can be assumed to otherwise, e.g. > because it is called immediately after a successful blk_new_with_bs() or > blk_new_open()). > >

Re: [Qemu-block] [PATCH v5 22/38] block: Prepare for NULL BDS

2015-09-18 Thread Eric Blake
On 09/18/2015 09:22 AM, Max Reitz wrote: > blk_bs() will not necessarily return a non-NULL value any more (unless > blk_is_available() is true or it can be assumed to otherwise, e.g. > because it is called immediately after a successful blk_new_with_bs() or > blk_new_open()). > > Signed-off-by:

[Qemu-block] [PATCH v5 22/38] block: Prepare for NULL BDS

2015-09-18 Thread Max Reitz
blk_bs() will not necessarily return a non-NULL value any more (unless blk_is_available() is true or it can be assumed to otherwise, e.g. because it is called immediately after a successful blk_new_with_bs() or blk_new_open()). Signed-off-by: Max Reitz --- block.c