|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH v3 06/14] qemu-img: Use blk_new_open() in img_rebase() |
Date: | Tue, 27 Jan 2015 10:01:02 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 2015-01-26 at 22:05, Eric Blake wrote:
On 01/26/2015 08:00 AM, Max Reitz wrote:Signed-off-by: Max Reitz <address@hidden> --- qemu-img.c | 57 ++++++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 33 deletions(-) - /* For safe rebasing we need to compare old and new backing file */ if (!unsafe) { char backing_name[PATH_MAX]; + QDict *options = NULL; + + if (!unsafe && bs->backing_format[0] != '\0') {Useless conditional ('!unsafe' is always true here).
Oh, right, thanks. Max
With that fixed, Reviewed-by: Eric Blake <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |