summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-03 14:30:09 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-14 15:41:57 +0100
commit5666232ab1875e87d58acb5948192e4698d3c3a0 (patch)
tree1c5aea51408dfc81e78e325dcf4fb79685033979
parent7a17fd86168bc1e35d4817c8aebfb03d71e32d11 (diff)
downloadlibguestfs-5666232ab1875e87d58acb5948192e4698d3c3a0.tar.gz
libguestfs-5666232ab1875e87d58acb5948192e4698d3c3a0.tar.xz
libguestfs-5666232ab1875e87d58acb5948192e4698d3c3a0.zip
virt-make-fs: Fix filesystem type check when estimating ntfs.
(cherry picked from commit e60556d92725289a26ccb406c9c94be32b3251c8)
-rwxr-xr-xtools/virt-make-fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virt-make-fs b/tools/virt-make-fs
index f941a820..9951ecd9 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -376,7 +376,7 @@ if ($type =~ /^ext[3-9]/) {
$estimate += 1024 * 1024; # For ext3/4, add some more for the journal.
}
-if ($type =~ /^ntfs/) {
+if ($type eq "ntfs") {
$estimate += 4 * 1024 * 1024; # NTFS journal.
}