Fix a big-endian bug in the bitmap code

This commit is contained in:
Doug Ledford 2006-10-08 15:18:52 +00:00
parent 2c54f76b2b
commit 93eab8bad0

View File

@ -1,7 +1,7 @@
Summary: mdadm controls Linux md devices (software RAID arrays) Summary: mdadm controls Linux md devices (software RAID arrays)
Name: mdadm Name: mdadm
Version: 2.5.3 Version: 2.5.3
Release: 1 Release: 2%{?dist}
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2 Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2
Source1: mdmonitor.init Source1: mdmonitor.init
Source2: mdmpd-0.4.tgz Source2: mdmpd-0.4.tgz
@ -14,6 +14,7 @@ Patch3: mdadm-2.5.2-static.patch
Patch5: mdadm-2.2-nodiet.patch Patch5: mdadm-2.2-nodiet.patch
Patch6: mdadm-2.5.2-cflags.patch Patch6: mdadm-2.5.2-cflags.patch
Patch7: mdadm-2.3.1-fswab64.patch Patch7: mdadm-2.3.1-fswab64.patch
Patch8: mdadm-2.5.3-bitmap.patch
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/ URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
@ -37,7 +38,7 @@ file can be used to help with some common tasks.
%patch5 -p1 -b .nodiet %patch5 -p1 -b .nodiet
%patch6 -p1 -b .cflags %patch6 -p1 -b .cflags
#%patch7 -p1 -b .fswab64 #%patch7 -p1 -b .fswab64
%patch8 -p1 -b .write_behind
%build %build
make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" MDASSEMBLE_AUTO=1 mdadm mdadm.static mdassemble.static make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" MDASSEMBLE_AUTO=1 mdadm mdadm.static mdassemble.static
make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" -C mdmpd mdmpd make CXFLAGS="$RPM_OPT_FLAGS" SYSCONFDIR="%{_sysconfdir}" -C mdmpd mdmpd
@ -87,6 +88,9 @@ fi
%attr(0700,root,root) %dir /var/run/mdadm %attr(0700,root,root) %dir /var/run/mdadm
%changelog %changelog
* Sun Oct 8 2006 Doug Ledford <dledford@redhat.com> - 2.5.3-2
- Fix a big-endian machine error in the bitmap code (Paul Clements)
* Mon Aug 7 2006 Doug Ledford <dledford@redhat.com> - 2.5.3-1 * Mon Aug 7 2006 Doug Ledford <dledford@redhat.com> - 2.5.3-1
- Update to 2.5.3 which upstream calls a "bug fix" release - Update to 2.5.3 which upstream calls a "bug fix" release