projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
694324e
)
Handle ext4
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 14 Jul 2010 01:14:22 +0000
(18:14 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 14 Jul 2010 01:14:22 +0000
(18:14 -0700)
quota/linux-lib.pl
patch
|
blob
|
history
diff --git
a/quota/linux-lib.pl
b/quota/linux-lib.pl
index
737a5ec
..
53a8ef4
100755
(executable)
--- a/
quota/linux-lib.pl
+++ b/
quota/linux-lib.pl
@@
-728,7
+728,7
@@
Consult the dumpe2fs command where possible.
=cut
sub fs_block_size
{
-if ($_[2]
eq "ext2" || $_[2] eq "ext3"
) {
+if ($_[2]
=~ /^ext\d+$/
) {
return 1024;
# This code isn't needed, because the quota block size is
# not the same as the filesystem block size!!