blkdebug: Don't confuse image as backing file
PATCH 1/1 blkdebug: Don't confuse image as backing file
The word "backing file" nowadays refers to the backing_hd in the external snapshot sense (i.e. bs->backing_hd), instead of the file sense (bs->file). Correct the comment to use the right term.
--- block/blkdebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
block/blkdebug.c +1 -1
@@ -426,7 +426,7 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags,/* Set initial state */ s->state =1 ; -/* Open the backing file */ +/* Open the image file */ assert (bs->file ==NULL ); ret =bdrv_open_image (&bs->file,qemu_opt_get (opts,"x-image" ), options,"image" , bs, &child_file, false, &local_err);
Signature · 1 line
2.4.3
Quoted 8 lines · Fam Zheng
The word "backing file" nowadays refers to the
backing_hdin the external snapshot sense (i.e.bs->backing_hd), instead of the file sense (bs->file). Correct the comment to use the right term.Signed-off-by Fam Zheng <[email protected]>--- block/blkdebug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
block/blkdebug.c +1
-1@@ -426,7 +426,7 @@ static int blkdebug_open(BlockDriverState *bs, QDict *options, int flags,/* Set initial state */ s->state =1 ; -/* Open the backing file */ +/* Open the image file */ assert (bs->file ==NULL ); ret =bdrv_open_image (&bs->file,qemu_opt_get (opts,"x-image" ), options,"image" , bs, &child_file, false, &local_err);
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 5 lines · Fam Zheng
The word "backing file" nowadays refers to the
backing_hdin the external snapshot sense (i.e.bs->backing_hd), instead of the file sense (bs->file). Correct the comment to use the right term.Signed-off-by Fam Zheng <[email protected]>
Berto
Kevin Wolf
AppliedAm 16.10.2015 um 12:46 hat Fam Zheng geschrieben:
Quoted 5 lines
The word "backing file" nowadays refers to the
backing_hdin the external snapshot sense (i.e.bs->backing_hd), instead of the file sense (bs->file). Correct the comment to use the right term.Signed-off-by Fam Zheng <[email protected]>
Thanks, applied to the block branch.
Kevin