[PATCH 5/5] Setting up lvs should never fail

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

 



As we only do lv handling for complete vgs now, setting up the lv
should never fail.
---
 storage/devicetree.py |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/storage/devicetree.py b/storage/devicetree.py
index 1d17126..99adb06 100644
--- a/storage/devicetree.py
+++ b/storage/devicetree.py
@@ -1524,13 +1524,7 @@ class DeviceTree(object):
                                                    logSize=log_size,
                                                    exists=True)
                 self._addDevice(lv_device)
-
-                try:
-                    lv_device.setup()
-                    ret = True
-                except DeviceError as (msg, name):
-                    log.info("setup of %s failed: %s"
-                                        % (lv_device.name, msg))
+                lv_device.setup()
 
         return ret
 
-- 
1.7.0.1

_______________________________________________
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