vmdk: Rename VmdkMetaData.valid to new_allocation
authorKevin Wolf <kwolf@redhat.com>
Thu, 30 Apr 2020 13:30:02 +0000 (15:30 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 May 2020 11:26:35 +0000 (13:26 +0200)
commit4dc20e6465eccd2466a449d3fb49539f5d9f53dd
tree7e5588ceb80c1fff5ae45ea5291d16b07dd496d8
parente4d7019e1a81c61de6a925c3ac5bb6e62ea21b29
vmdk: Rename VmdkMetaData.valid to new_allocation

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 <kwolf@redhat.com>
Message-Id: <20200430133007.170335-2-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c