[PATCH 1/2] Verify with fsck after resizing filesystems

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

 



Resizing can introduce errors too, so for paranoia, we should
check afterwards
---
 storage/formats/fs.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/storage/formats/fs.py b/storage/formats/fs.py
index 59672d2..c4cb1ca 100644
--- a/storage/formats/fs.py
+++ b/storage/formats/fs.py
@@ -394,6 +394,8 @@ class FS(DeviceFormat):
         if rc:
             raise FSResizeError("resize failed: %s" % rc, self.device)
 
+        self.doCheck(intf=intf)
+
         # XXX must be a smarter way to do this
         self._size = self.targetSize
         self.notifyKernel()
-- 
1.6.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