Re: [PATCH master f17-branch] Notify the kernel/udev after creating swap space. (#818352)

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

 



> diff --git a/pyanaconda/storage/formats/swap.py b/pyanaconda/storage/formats/swap.py
> index 860a551..aa169dc 100644
> --- a/pyanaconda/storage/formats/swap.py
> +++ b/pyanaconda/storage/formats/swap.py
> @@ -170,6 +170,7 @@ class SwapSpace(DeviceFormat):
>              raise
>          else:
>              self.exists = True
> +            self.notifyKernel()
>          finally:
>              if w:
>                  w.pop()

Looks fine.

- 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