[PATCH 5/5] Only check relevant devices for dirty filesystems. (#741206)

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

 



When doing an upgrade we only want to check for dirty filesystems
on devices referenced in /etc/fstab.
---
 pyanaconda/storage/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pyanaconda/storage/__init__.py b/pyanaconda/storage/__init__.py
index f42b49f..3c70c42 100644
--- a/pyanaconda/storage/__init__.py
+++ b/pyanaconda/storage/__init__.py
@@ -1591,7 +1591,7 @@ def mountExistingSystem(anaconda, rootEnt,
 
     # check for dirty filesystems
     dirtyDevs = []
-    for device in fsset.devices:
+    for device in fsset.mountpoints.values():
         if not hasattr(device.format, "isDirty"):
             continue
 
-- 
1.7.3.4

_______________________________________________
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