Re: [PATCH] Use label attr instead of non-existent fslabel attr. (#491120)

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

 



> diff --git a/storage/formats/fs.py b/storage/formats/fs.py
> index c624c59..1939434 100644
> --- a/storage/formats/fs.py
> +++ b/storage/formats/fs.py
> @@ -539,7 +539,7 @@ class FS(DeviceFormat):
>          if rc:
>              raise FSError("label failed")
>  
> -        self.fslabel = label
> +        self.label = label
>          self.notifyKernel()
>  
>      @property
> @@ -828,8 +828,8 @@ class BTRFS(FS):
>          if options and isinstance(options, list):
>              argv.extend(options)
>          argv.extend(self.defaultFormatOptions)
> -        if self.fslabel:
> -            argv.extend(["-L", self.fslabel])
> +        if self.label:
> +            argv.extend(["-L", self.label])
>          argv.append(self.device)
>          return argv

Looks good.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux