rpms/parted/devel parted-1.7.1-ext_attr.patch, NONE, 1.1 parted.spec, 1.85, 1.86

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 13 17:52:45 UTC 2006


Author: dcantrel

Update of /cvs/dist/rpms/parted/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8319

Modified Files:
	parted.spec 
Added Files:
	parted-1.7.1-ext_attr.patch 
Log Message:
- Allow resizing of ext2/ext3 filesystems with extended attributes (#90894)


parted-1.7.1-ext_attr.patch:
 ext2.c    |    1 +
 ext2_fs.h |    1 +
 2 files changed, 2 insertions(+)

--- NEW FILE parted-1.7.1-ext_attr.patch ---
--- parted-1.7.1/libparted/fs/ext2/ext2.c.ext_attr	2006-05-27 05:39:03.000000000 -0400
+++ parted-1.7.1/libparted/fs/ext2/ext2.c	2006-09-13 13:48:16.000000000 -0400
@@ -719,6 +719,7 @@
 
 	if ((EXT2_SUPER_FEATURE_COMPAT(fs->sb)
 	                & ~(EXT3_FEATURE_COMPAT_HAS_JOURNAL |
+	                EXT2_FEATURE_COMPAT_EXT_ATTR |
 			    EXT2_FEATURE_COMPAT_HAS_DIR_INDEX)) ||
 	    (EXT2_SUPER_FEATURE_INCOMPAT(fs->sb)
 	    		& ~(EXT2_FEATURE_INCOMPAT_FILETYPE |
--- parted-1.7.1/libparted/fs/ext2/ext2_fs.h.ext_attr	2006-05-25 13:29:00.000000000 -0400
+++ parted-1.7.1/libparted/fs/ext2/ext2_fs.h	2006-09-13 13:50:06.000000000 -0400
@@ -52,6 +52,7 @@
  * Feature set definitions
  */
 #define EXT3_FEATURE_COMPAT_HAS_JOURNAL		0x0004
+#define EXT2_FEATURE_COMPAT_EXT_ATTR		0x0008
 #define EXT2_FEATURE_COMPAT_HAS_DIR_INDEX	0x0020
 
 #define EXT2_FEATURE_RO_COMPAT_SPARSE_SUPER	0x0001


Index: parted.spec
===================================================================
RCS file: /cvs/dist/rpms/parted/devel/parted.spec,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -r1.85 -r1.86
--- parted.spec	23 Aug 2006 17:58:19 -0000	1.85
+++ parted.spec	13 Sep 2006 17:52:43 -0000	1.86
@@ -4,7 +4,7 @@
 Summary: The GNU disk partition manipulation program.
 Name:    parted
 Version: 1.7.1
-Release: 15%{?dist}
+Release: 16%{?dist}
 Source:  ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
 Patch0:  parted-1.7.0-fat.c.patch
 Patch1:  parted-1.7.0-sx8.patch
@@ -16,6 +16,7 @@
 Patch8:  parted-1.7.1-O_DIRECT.patch
 Patch9:  parted-1.7.1-get_exception.patch
 Patch10: parted-1.7.1-gpt.patch
+Patch11: parted-1.7.1-ext_attr.patch
 
 Buildroot: %{_tmppath}/%{name}-root
 License: GPL
@@ -55,6 +56,7 @@
 %patch8 -p1 -b .o_direct
 %patch9 -p1 -b .get_exception
 %patch10 -p1 -b .gpt
+%patch11 -p1 -b .ext_attr
 
 iconv -f iso-8859-1 -t utf-8 < doc/pt_BR-parted.8 > doc/pt_BR-parted.8_
 mv doc/pt_BR-parted.8_ doc/pt_BR-parted.8
@@ -108,6 +110,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Wed Sep 13 2006 David Cantrell <dcantrell at redhat.com> - 1.7.1-16
+- Allow resizing of ext2/ext3 filesystems with extended attributes (#90894)
+
 * Wed Aug 23 2006 David Cantrell <dcantrell at redhat.com> - 1.7.1-15
 - Fixed gpt patch (*asked_already -> asked_already, whoops)
 




More information about the fedora-cvs-commits mailing list