block: Propagate error in bdrv_open_backing_file
PATCH 1/1 block: Propagate error in bdrv_open_backing_file
Signed-off-by Fam Zheng <[email protected]>
--- block.c | 1 + 1 file changed, 1 insertion(+)
block.c +1 -0
@@ -2025,6 +2025,7 @@ int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options,bdrv_set_backing_hd (bs, backing_hd, &local_err);bdrv_unref (backing_hd);if (local_err) { +error_propagate (errp, local_err); ret = -EINVAL ; goto free_exit; }
Signature · 1 line
2.9.3
Quoted 10 lines · Fam Zheng
Signed-off-by Fam Zheng <[email protected]>--- block.c | 1 + 1 file changed, 1 insertion(+)block.c +0
-0
block.c int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options, · line 2031
Quoted 7 lines
block.c +1
-0@@ -2025,6 +2025,7 @@ int bdrv_open_backing_file(BlockDriverState *bs, QDict *parent_options,bdrv_set_backing_hd (bs, backing_hd, &local_err);bdrv_unref (backing_hd);if (local_err) { +error_propagate (errp, local_err); ret = -EINVAL ; goto free_exit; }
Reviewed-by Alberto Garcia <[email protected]>
Berto
Kevin Wolf
AppliedAm 17.03.2017 um 02:56 hat Fam Zheng geschrieben:
Quoted 1 line
Signed-off-by Fam Zheng <[email protected]>
Thanks, applied to the block branch.
Kevin