EXT4 support tweak
authorJamie Cameron <jcameron@webmin.com>
Sat, 17 Jul 2010 05:19:17 +0000 (22:19 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sat, 17 Jul 2010 05:19:17 +0000 (22:19 -0700)
mount/linux-lib.pl

index 1640141..02dc6a0 100755 (executable)
@@ -457,7 +457,7 @@ while(<MTAB>) {
                # The source for proc mounts is always proc
                $p[0] = "proc";
                }
-       if (!$_[0] && ($p[2] =~ /^ext[23]$/ && $has_e2label ||
+       if (!$_[0] && ($p[2] =~ /^ext\d+$/ && $has_e2label ||
                       $p[2] eq "xfs" && $has_xfs_db ||
                       $p[2] eq "reiserfs" && $has_reiserfstune)) {
                # Check for a label on this partition, and there is one