[PATCH 04/17] Mark BTRFSDevice as not resizable.

Anne Mulhern amulhern at redhat.com
Thu Jun 5 17:29:24 UTC 2014





----- Original Message -----
> From: "David Lehman" <dlehman at redhat.com>
> To: anaconda-patches at lists.fedorahosted.org
> Sent: Thursday, June 5, 2014 12:47:24 PM
> Subject: [PATCH 04/17] Mark BTRFSDevice as not resizable.
> 
> ---
>  blivet/devices.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/blivet/devices.py b/blivet/devices.py
> index cdd0642..c371262 100644
> --- a/blivet/devices.py
> +++ b/blivet/devices.py
> @@ -4614,6 +4614,7 @@ class BTRFSDevice(StorageDevice):
>      """ Base class for BTRFS volume and sub-volume devices. """
>      _type = "btrfs"
>      _packages = ["btrfs-progs"]
> +    _resizable = False
>  
>      def __init__(self, *args, **kwargs):
>          """ Passing None or no name means auto-generate one like btrfs.%d
>          """
> --
> 1.9.0
> 
> _______________________________________________
> anaconda-patches mailing list
> anaconda-patches at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/anaconda-patches
> 

This is unnecessary, since it inherits a value of False from StorageDevice.

- mulhern


More information about the anaconda-patches mailing list