rpms/quota/F-9 quota-3.15-ext4support.patch, NONE, 1.1 quota.spec, 1.42, 1.43
Ondrej Vasik
ovasik at fedoraproject.org
Wed Nov 19 09:52:52 UTC 2008
Author: ovasik
Update of /cvs/extras/rpms/quota/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7756
Modified Files:
quota.spec
Added Files:
quota-3.15-ext4support.patch
Log Message:
fix ext4 support implementation (#472050)
quota-3.15-ext4support.patch:
--- NEW FILE quota-3.15-ext4support.patch ---
diff -urNp quota-tools-orig/mntopt.h quota-tools/mntopt.h
--- quota-tools-orig/mntopt.h 2007-08-22 13:26:55.000000000 +0200
+++ quota-tools/mntopt.h 2008-10-30 09:13:35.000000000 +0100
@@ -6,7 +6,8 @@
/* filesystem type */
#define MNTTYPE_EXT2 "ext2" /* 2nd Extended file system */
#define MNTTYPE_EXT3 "ext3" /* ext2 + journaling */
-#define MNTTYPE_EXT4 "ext4dev" /* ext4 filesystem */
+#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 */
diff -urNp quota-tools-orig/quotasys.c quota-tools/quotasys.c
--- quota-tools-orig/quotasys.c 2008-10-30 09:11:12.000000000 +0100
+++ quota-tools/quotasys.c 2008-10-30 09:14:49.000000000 +0100
@@ -63,6 +63,7 @@ static int correct_fstype(char *type)
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) ||
Index: quota.spec
===================================================================
RCS file: /cvs/extras/rpms/quota/F-9/quota.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- quota.spec 5 Aug 2008 12:26:09 -0000 1.42
+++ quota.spec 19 Nov 2008 09:52:22 -0000 1.43
@@ -5,7 +5,7 @@
Summary: System administration tools for monitoring users' disk usage
Epoch: 1
Version: 3.15
-Release: 7%{?dist}
+Release: 8%{?dist}
License: BSD and GPLv2+
URL: http://sourceforge.net/projects/linuxquota/
Group: System Environment/Base
@@ -21,6 +21,7 @@
Patch4: quota-3.13-wrong-ports.patch
Patch5: quota-3.15-manpages.patch
Patch6: quota-3.15-helpoption.patch
+Patch7: quota-3.15-ext4support.patch
%description
The quota package contains system administration tools for monitoring
@@ -38,6 +39,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1 -b .ext4
%build
@@ -90,6 +92,10 @@
%changelog
+* Thu Nov 10 2008 Ondrej Vasik <ovasik at redhat.com> 1:3.15-8
+- fix implementation of ext4 support
+ (by Mingming Cao, #472050)
+
* Tue Aug 05 2008 Ondrej Vasik <ovasik at redhat.com> 3.15-7
- Add support for -h option (do not show invalid option
error) at edquota,setquota and quota (#457898)
More information about the fedora-extras-commits
mailing list