rpms/e2fsprogs/devel e2fsprogs-1.40.2-swapfs.patch, NONE, 1.1 e2fsprogs.spec, 1.75, 1.76
Eric Sandeen (sandeen)
fedora-extras-commits at redhat.com
Wed Jul 18 16:49:04 UTC 2007
- Previous message: rpms/meld/F-7 meld-scrollkeeper.patch,1.1,1.2 meld.spec,1.22,1.23
- Next message: rpms/kernel-xen-2.6/devel linux-2.6.20.14-xen-3.1.0.patch, NONE, 1.1.2.1 kernel-xen.spec, 1.33, 1.33.2.1 linux-2.6-xen-execshield.patch, 1.3, 1.3.10.1 linux-2.6-xen-iscsi-x86_64-no_iommu_init.patch, 1.1, 1.1.4.1 linux-2.6-xen-utrace.patch, 1.2, 1.2.10.1 linux-2.6-csum-missing-line.patch, 1.2, NONE linux-2.6-fix-x86_64-smp.patch, 1.1, NONE linux-2.6-kill_skbuff_hack.patch, 1.2, NONE linux-2.6-xen-fix-nosegneg-detection.patch, 1.1, NONE linux-2.6-xen.patch, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: sandeen
Update of /cvs/pkgs/rpms/e2fsprogs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10645
Modified Files:
e2fsprogs.spec
Added Files:
e2fsprogs-1.40.2-swapfs.patch
Log Message:
* Wed Jul 18 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-2
- Fix bug in ext2fs_swap_inode_full() on big-endian boxes
e2fsprogs-1.40.2-swapfs.patch:
--- NEW FILE e2fsprogs-1.40.2-swapfs.patch ---
>From db9097caca17401313c0dc840b4ae683e5b5c1df Mon Sep 17 00:00:00 2001
From: Eric Sandeen <sandeen at redhat.com>
Date: Tue, 17 Jul 2007 20:40:25 -0500
Subject: [PATCH] Fix big-endian byte-swapping bug in ext2fs_swap_inode_full()
We need to set t->i_file_acl before we test it in
ext2fs_inode_data_blocks()
Signed-off-by: Eric Sandeen <sandeen at redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso at mit.edu>
---
lib/ext2fs/swapfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/ext2fs/swapfs.c b/lib/ext2fs/swapfs.c
index a40caa9..6576c59 100644
--- a/lib/ext2fs/swapfs.c
+++ b/lib/ext2fs/swapfs.c
@@ -150,6 +150,7 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t,
t->i_dtime = ext2fs_swab32(f->i_dtime);
t->i_gid = ext2fs_swab16(f->i_gid);
t->i_links_count = ext2fs_swab16(f->i_links_count);
+ t->i_file_acl = ext2fs_swab32(f->i_file_acl);
if (hostorder)
has_data_blocks = ext2fs_inode_data_blocks(fs,
(struct ext2_inode *) f);
@@ -158,7 +159,6 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t,
has_data_blocks = ext2fs_inode_data_blocks(fs,
(struct ext2_inode *) t);
t->i_flags = ext2fs_swab32(f->i_flags);
- t->i_file_acl = ext2fs_swab32(f->i_file_acl);
t->i_dir_acl = ext2fs_swab32(f->i_dir_acl);
if (!islnk || has_data_blocks ) {
for (i = 0; i < EXT2_N_BLOCKS; i++)
Index: e2fsprogs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/e2fsprogs/devel/e2fsprogs.spec,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -r1.75 -r1.76
--- e2fsprogs.spec 17 Jul 2007 19:14:44 -0000 1.75
+++ e2fsprogs.spec 18 Jul 2007 16:48:31 -0000 1.76
@@ -4,7 +4,7 @@
Summary: Utilities for managing the second and third extended (ext2/ext3) filesystems
Name: e2fsprogs
Version: 1.40.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: System Environment/Base
Source: ftp://download.sourceforge.net/pub/sourceforge/e2fsprogs/e2fsprogs-%{version}.tar.gz
@@ -15,6 +15,7 @@
Patch39: e2fsprogs-1.39-multilib.patch
Patch62: e2fsprogs-1.39-mkinstalldirs.patch
Patch63: e2fsprogs-1.40.2-warning-fixes.patch
+Patch64: e2fsprogs-1.40.2-swapfs.patch
Url: http://e2fsprogs.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: e2fsprogs-libs = %{version}-%{release}, device-mapper
@@ -77,6 +78,8 @@
%patch62 -p1 -b .mkinstalldirs
# Fix type warning in badblocks
%patch63 -p1 -b .warnings
+# Fix ext2fs_swap_inode_full() on bigendian boxes
+%patch64 -p1 -b .swapfs
%build
aclocal
autoconf
@@ -227,6 +230,9 @@
%{_mandir}/man3/uuid_unparse.3*
%changelog
+* Wed Jul 18 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-2
+- Fix bug in ext2fs_swap_inode_full() on big-endian boxes
+
* Tue Jul 17 2007 Eric Sandeen <esandeen at redhat.com> 1.40.2-1
- New version 1.40.2
- Fix up warning in badblocks
- Previous message: rpms/meld/F-7 meld-scrollkeeper.patch,1.1,1.2 meld.spec,1.22,1.23
- Next message: rpms/kernel-xen-2.6/devel linux-2.6.20.14-xen-3.1.0.patch, NONE, 1.1.2.1 kernel-xen.spec, 1.33, 1.33.2.1 linux-2.6-xen-execshield.patch, 1.3, 1.3.10.1 linux-2.6-xen-iscsi-x86_64-no_iommu_init.patch, 1.1, 1.1.4.1 linux-2.6-xen-utrace.patch, 1.2, 1.2.10.1 linux-2.6-csum-missing-line.patch, 1.2, NONE linux-2.6-fix-x86_64-smp.patch, 1.1, NONE linux-2.6-kill_skbuff_hack.patch, 1.2, NONE linux-2.6-xen-fix-nosegneg-detection.patch, 1.1, NONE linux-2.6-xen.patch, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list