Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 3c5e24b127c80e47535551d9f74c4847 > files > 10

quota-3.13-5.el5.src.rpm

Index: quota-tools/mntopt.h
===================================================================
--- quota-tools.orig/mntopt.h
+++ quota-tools/mntopt.h
@@ -6,6 +6,8 @@
 /* filesystem type */
 #define MNTTYPE_EXT2		"ext2"	/* 2nd Extended file system */
 #define MNTTYPE_EXT3		"ext3"	/* ext2 + journaling */
+#define MNTTYPE_EXT4		"ext4"	/* ext4 filesystem */
+#define MNTTYPE_EXT4DEV		"ext4dev"/* ext4dev filesystem */
 #define MNTTYPE_MINIX		"minix"	/* MINIX file system */
 #define MNTTYPE_UFS		"ufs"	/* UNIX file system */
 #define MNTTYPE_UDF		"udf"	/* OSTA UDF file system */
Index: quota-tools/quotasys.c
===================================================================
--- quota-tools.orig/quotasys.c
+++ quota-tools/quotasys.c
@@ -61,6 +61,8 @@ static int correct_fstype(char *type)
 			*next = 0;
 		if (!strcmp(type, MNTTYPE_EXT2) ||
 		    !strcmp(type, MNTTYPE_EXT3) ||
+		    !strcmp(type, MNTTYPE_EXT4) ||
+		    !strcmp(type, MNTTYPE_EXT4DEV) ||
 		    !strcmp(type, MNTTYPE_JFS) ||
 		    !strcmp(type, MNTTYPE_MINIX) ||
 		    !strcmp(type, MNTTYPE_UFS) ||