[f22-branch 1/1] Fix XFS' and BTRFS' max size limits (#1200812)
vpodzime
installerbot-noreply at redhat.com
Fri Mar 13 09:05:26 UTC 2015
From: Vratislav Podzimek <vpodzime at redhat.com>
These should be max 64-bit unsigned integer value which is 16 EiB - 1.
---
blivet/formats/fs.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/formats/fs.py b/blivet/formats/fs.py
index 491a4f2..d33260e 100644
--- a/blivet/formats/fs.py
+++ b/blivet/formats/fs.py
@@ -1115,7 +1115,7 @@ class BTRFS(FS):
_supported = True
_packages = ["btrfs-progs"]
_minSize = Size("256 MiB")
- _maxSize = Size("16 EiB")
+ _maxSize = Size("16 EiB") - 1
# FIXME parted needs to be taught about btrfs so that we can set the
# partition table type correctly for btrfs partitions
# partedSystem = fileSystemType["btrfs"]
@@ -1254,7 +1254,7 @@ class XFS(FS):
_modules = ["xfs"]
_labelfs = fslabeling.XFSLabeling()
_defaultFormatOptions = ["-f"]
- _maxSize = Size("16 EiB")
+ _maxSize = Size("16 EiB") - 1
_formattable = True
_linuxNative = True
_supported = True
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/1d1036335899949e806a54a49820e30d80d40143
More information about the anaconda-patches
mailing list