On 01/26/2015 08:00 AM, Max Reitz wrote:
> Now that request clamping is done in the BlockBackend, the "growable"
> field can be removed from the BlockDriverState. All BDSs are now treated
> as being "growable" (that is, they are allowed to grow; they are not
> necessarily actually able to).
> 
> Signed-off-by: Max Reitz <mre...@redhat.com>
> ---

> +++ b/include/block/block_int.h
> @@ -369,9 +369,6 @@ struct BlockDriverState {
>      /* I/O Limits */
>      BlockLimits bl;
>  
> -    /* Whether the disk can expand beyond total_sectors */
> -    int growable;
> -

Yay - getting rid of an 'int' that was only used to hold 'bool' values :)

Reviewed-by: Eric Blake <ebl...@redhat.com>

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to