iscsi: Remember to set ret for iscsi_open in error case
PATCH 1/1 iscsi: Remember to set ret for iscsi_open in error case
Signed-off-by Fam Zheng <[email protected]>
--- block/iscsi.c | 1 + 1 file changed, 1 insertion(+)
block/iscsi.c +1 -0
@@ -1233,6 +1233,7 @@ static int iscsi_open(BlockDriverState *bs, QDict *options, int flags,iscsi_readcapacity_sync (iscsilun, &local_err);if (local_err !=NULL ) {error_propagate (errp, local_err); + ret = -EINVAL ; goto out; } bs->total_sectors =sector_lun2qemu (iscsilun->num_blocks, iscsilun);
Signature · 1 line
1.9.1
Kevin Wolf
AppliedAm 10.04.2014 um 03:33 hat Fam Zheng geschrieben:
Quoted 1 line
Signed-off-by Fam Zheng <[email protected]>
Thanks, applied to the block branch.
Kevin
Quoted 5 lines · Kevin Wolf
Am 10.04.2014 um 03:33 hat Fam Zheng geschrieben:
Quoted 1 line
Signed-off-by Fam Zheng <[email protected]>Thanks, applied to the block branch.
Is this going into 2.0?
Thanks,
Fam
Am 11.04.2014 um 07:29 hat Fam Zheng geschrieben:
Quoted 8 lines · Kevin Wolf
Quoted 5 lines
Am 10.04.2014 um 03:33 hat Fam Zheng geschrieben:
Quoted 1 line
Signed-off-by Fam Zheng <[email protected]>Thanks, applied to the block branch.
Is this going into 2.0?
Looks like we're going to have an -rc3, so yes.
Kevin