[blivet:master 1/2] Remove BTRFS._resizeArgs()

mulhern amulhern at redhat.com
Wed Nov 12 23:52:31 UTC 2014


Without a corresponding _resizefs it has no point in existing.
Resizing btrfs will probably requires "btrfs filesystem resize ..." command,
which doesn't expect those arguments.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/fs.py | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 4de70c8..adb85ee 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1107,11 +1107,6 @@ class BTRFS(FS):
 
         return self.mount(**kwargs)
 
-    @property
-    def resizeArgs(self):
-        argv = ["-r", "%dm" % (self.targetSize.convertTo(spec="MiB"),), self.device]
-        return argv
-
 register_device_format(BTRFS)
 
 
-- 
1.9.3



More information about the anaconda-patches mailing list