- Oops, if we call -C -e1, minor_version is no longer properly set, fix
that up - Related: bz230207
This commit is contained in:
parent
82d0d14a29
commit
901c91d2fb
@ -1,5 +1,5 @@
|
|||||||
--- mdadm-2.6.2/super1.c.ver1 2007-05-21 00:25:40.000000000 -0400
|
--- mdadm-2.6.2/super1.c.ver1 2007-05-21 00:25:40.000000000 -0400
|
||||||
+++ mdadm-2.6.2/super1.c 2007-07-02 16:53:04.000000000 -0400
|
+++ mdadm-2.6.2/super1.c 2007-07-09 14:19:50.000000000 -0400
|
||||||
@@ -152,9 +152,17 @@ static void examine_super1(void *sbv, ch
|
@@ -152,9 +152,17 @@ static void examine_super1(void *sbv, ch
|
||||||
char *c;
|
char *c;
|
||||||
int l = homehost ? strlen(homehost) : 0;
|
int l = homehost ? strlen(homehost) : 0;
|
||||||
@ -78,3 +78,11 @@
|
|||||||
|
|
||||||
free(st);
|
free(st);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@@ -1154,6 +1172,7 @@ static __u64 avail_size1(struct supertyp
|
||||||
|
devsize -= choose_bm_space(devsize);
|
||||||
|
|
||||||
|
switch(st->minor_version) {
|
||||||
|
+ case -1:
|
||||||
|
case 0:
|
||||||
|
/* at end */
|
||||||
|
return ((devsize - 8*2 ) & ~(4*2-1));
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
Summary: The mdadm program controls Linux md devices (software RAID arrays)
|
||||||
Name: mdadm
|
Name: mdadm
|
||||||
Version: 2.6.2
|
Version: 2.6.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
|
Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-%{version}.tgz
|
||||||
Source1: mdmonitor.init
|
Source1: mdmonitor.init
|
||||||
Patch1: mdadm-2.5.2-s390-build.patch
|
Patch1: mdadm-2.5.2-s390-build.patch
|
||||||
@ -89,6 +89,11 @@ fi
|
|||||||
%attr(0700,root,root) %dir /var/run/mdadm
|
%attr(0700,root,root) %dir /var/run/mdadm
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 09 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-4
|
||||||
|
- Oops, if we call -C -e1, minor_version is no longer properly set, fix that
|
||||||
|
up
|
||||||
|
- Related: bz230207
|
||||||
|
|
||||||
* Fri Jul 06 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-3
|
* Fri Jul 06 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-3
|
||||||
- Oops, had to update the file leak patch, missed one thing
|
- Oops, had to update the file leak patch, missed one thing
|
||||||
- Minor tweak to return codes in init script and add LSB header
|
- Minor tweak to return codes in init script and add LSB header
|
||||||
@ -106,7 +111,7 @@ fi
|
|||||||
- Make the mdmonitor script use daemon() correctly
|
- Make the mdmonitor script use daemon() correctly
|
||||||
- Fix a bug where manage mode would not add disks correctly under certain
|
- Fix a bug where manage mode would not add disks correctly under certain
|
||||||
conditions
|
conditions
|
||||||
- Resolves: bz244582, bz242688, bz230207, bz169596, bz171862, bz171938
|
- Resolves: bz244582, bz242688, bz230207, bz169516, bz171862, bz171938
|
||||||
- Resolves: bz174642, bz224272, bz186524
|
- Resolves: bz174642, bz224272, bz186524
|
||||||
|
|
||||||
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-1
|
* Mon Jul 02 2007 Doug Ledford <dledford@redhat.com> - 2.6.2-1
|
||||||
|
Loading…
Reference in New Issue
Block a user