- One line fix for ppc64 compiles
This commit is contained in:
parent
1a750b7679
commit
ff435833ff
21
mdadm-3.1.2-powerpc-compile.patch
Normal file
21
mdadm-3.1.2-powerpc-compile.patch
Normal file
@ -0,0 +1,21 @@
|
||||
commit 995511f26e8d661d32d1c3fc42a08960989d1e6d
|
||||
Author: Doug Ledford <dledford@redhat.com>
|
||||
Date: Tue Apr 6 14:04:30 2010 -0400
|
||||
|
||||
powerpc compile fix
|
||||
|
||||
Signed-off-by: Doug Ledford <dledford@redhat.com>
|
||||
|
||||
diff --git a/super-intel.c b/super-intel.c
|
||||
index a196ca3..999b970 100644
|
||||
--- a/super-intel.c
|
||||
+++ b/super-intel.c
|
||||
@@ -697,7 +697,7 @@ static void print_imsm_dev(struct imsm_dev *dev, char *uuid, int disk_idx)
|
||||
printf(" <-- %s", map_state_str[map->map_state]);
|
||||
printf("\n Checkpoint : %u (%llu)",
|
||||
__le32_to_cpu(dev->vol.curr_migr_unit),
|
||||
- blocks_per_migr_unit(dev));
|
||||
+ (unsigned long long)blocks_per_migr_unit(dev));
|
||||
}
|
||||
printf("\n");
|
||||
printf(" Dirty State : %s\n", dev->vol.dirty ? "dirty" : "clean");
|
@ -1,7 +1,7 @@
|
||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||
Name: mdadm
|
||||
Version: 3.1.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.bz2
|
||||
Source1: mdmonitor.init
|
||||
Source2: raid-check
|
||||
@ -14,6 +14,7 @@ Patch4: mdadm-3.1.2-rebuild.patch
|
||||
Patch5: mdadm-3.1.2-directory.patch
|
||||
Patch6: mdadm-3.1.2-decremental.patch
|
||||
Patch7: mdadm-3.1.2-decremental-2.patch
|
||||
Patch8: mdadm-3.1.2-powerpc-compile.patch
|
||||
Patch9: mdadm-2.5.2-static.patch
|
||||
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
||||
License: GPLv2+
|
||||
@ -42,6 +43,7 @@ file can be used to help with some common tasks.
|
||||
%patch5 -p1 -b .directory
|
||||
%patch6 -p1 -b .decremental
|
||||
%patch7 -p1 -b .decremental-2
|
||||
%patch8 -p1 -b .powerpc
|
||||
%patch9 -p1 -b .static
|
||||
|
||||
%build
|
||||
@ -89,6 +91,9 @@ fi
|
||||
%attr(0700,root,root) %dir /var/run/mdadm
|
||||
|
||||
%changelog
|
||||
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-4
|
||||
- One line fix for ppc64 compiles
|
||||
|
||||
* Tue Apr 06 2010 Doug Ledford <dledford@redhat.com> - 3.1.2-3
|
||||
- Clean up directory mess once and for all
|
||||
- Add incremental remove support
|
||||
|
Loading…
Reference in New Issue
Block a user