[libvirt PATCH 6/7] storage: scsi: invert logic in createVport
Peter Krempa
pkrempa at redhat.com
Tue Sep 29 15:29:29 UTC 2020
On Fri, Sep 25, 2020 at 15:16:12 +0200, Ján Tomko wrote:
> Check whether the alloc result is negative (which is
> cannot happen with current code) to reduce churn in
> the following commit.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/storage/storage_backend_scsi.c | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list