qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/6] vmdk: Rename VmdkMetaData.valid to new_allocation


From: Eric Blake
Subject: Re: [PATCH 1/6] vmdk: Rename VmdkMetaData.valid to new_allocation
Date: Thu, 30 Apr 2020 09:10:18 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 4/30/20 8:30 AM, Kevin Wolf wrote:
m_data is used for zero clusters even though valid == 0. It really only
means that a new cluster was allocated in the image file. Rename it to
reflect this.

While at it, change it from int to bool, too.

Signed-off-by: Kevin Wolf <address@hidden>
---
  block/vmdk.c | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)


Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]