summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-03-20 03:50:25 +0000
committerNeil Brown <neilb@suse.de>2006-03-20 03:50:25 +0000
commit39c5a909836de39f974b4221627a2e0420deb913 (patch)
tree5dfe2c7e2039e19cecb9aff1bf2e0815a2a8738e
parent206c5eaedfa3d8d9d645874bb0f5be808ff06843 (diff)
downloadmdadm-39c5a909836de39f974b4221627a2e0420deb913.tar.gz
mdadm-39c5a909836de39f974b4221627a2e0420deb913.tar.xz
mdadm-39c5a909836de39f974b4221627a2e0420deb913.zip
Release 2.4-pre1
Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r--Assemble.c2
-rw-r--r--Makefile2
-rw-r--r--ReadMe.c2
-rw-r--r--inventory4
-rwxr-xr-xmakedist3
-rw-r--r--mdadm.82
-rw-r--r--mdadm.spec7
-rw-r--r--mdassemble.82
8 files changed, 16 insertions, 8 deletions
diff --git a/Assemble.c b/Assemble.c
index 480c512..2dca21d 100644
--- a/Assemble.c
+++ b/Assemble.c
@@ -568,6 +568,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
* that was moved aside due to the reshape overwriting live data
* The code of doing this lives in Grow.c
*/
+#ifndef MDASSEMBLE
if (info.reshape_active) {
int err = 0;
int *fdlist = malloc(sizeof(int)* bestcnt);
@@ -595,6 +596,7 @@ int Assemble(struct supertype *st, char *mddev, int mdfd,
return err;
}
}
+#endif
/* count number of in-sync devices according to the superblock.
* We must have this number to start the array without -s or -R
*/
diff --git a/Makefile b/Makefile
index 3e18f9d..6b64713 100644
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ install : mdadm mdadm.8 md.4 mdadm.conf.5
clean :
rm -f mdadm $(OBJS) core *.man mdadm.tcc mdadm.uclibc mdadm.static *.orig *.porig *.rej *.alt \
mdassemble mdassemble.static mdassemble.uclibc mdassemble.klibc swap_super \
- init.cpio.gz mdadm.uclibc.static
+ init.cpio.gz mdadm.uclibc.static test_stripe
dist : clean
./makedist
diff --git a/ReadMe.c b/ReadMe.c
index 2e13b5d..c508a36 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -30,7 +30,7 @@
#include "mdadm.h"
-char Version[] = Name " - v2.3.1 - 6 February 2006\n";
+char Version[] = Name " - v2.4-pre1 - Not For Production Use - 20 March 2006\n";
/*
* File: ReadMe.c
diff --git a/inventory b/inventory
index f885957..ad777cf 100644
--- a/inventory
+++ b/inventory
@@ -4,6 +4,7 @@ ANNOUNCE-2.1
ANNOUNCE-2.2
ANNOUNCE-2.3
ANNOUNCE-2.3.1
+ANNOUNCE-2.4-pre1
Assemble.c
Build.c
COPYING
@@ -45,9 +46,11 @@ misc/
misc/syslog-events
mkinitramfs
raid5extend.c
+restripe.c
super0.c
super1.c
swap_super.c
+sysfs.c
test
tests/
tests/00linear
@@ -87,6 +90,7 @@ tests/06name
tests/06r5swap
tests/06sysfs
tests/06wrmostly
+tests/07testreshape5
tests/ToTest
tests/check
tests/testdev
diff --git a/makedist b/makedist
index b7fbc8e..db83021 100755
--- a/makedist
+++ b/makedist
@@ -19,7 +19,8 @@ grep "^.TH MDADM 8 .. v$version" mdadm.8 > /dev/null 2>&1 ||
echo mdadm.8 does not mention verion $version.
exit 1
}
-grep "^Version: *$version$" mdadm.spec > /dev/null 2>&1 ||
+rpmv=`echo $version | tr - _`
+grep "^Version: *$rpmv$" mdadm.spec > /dev/null 2>&1 ||
{
echo mdadm.spec does not mention version $version.
exit 1
diff --git a/mdadm.8 b/mdadm.8
index 15cc178..6ef79ae 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -1,5 +1,5 @@
.\" -*- nroff -*-
-.TH MDADM 8 "" v2.3.1
+.TH MDADM 8 "" v2.4-pre1
.SH NAME
mdadm \- manage MD devices
.I aka
diff --git a/mdadm.spec b/mdadm.spec
index 8648257..c14eab7 100644
--- a/mdadm.spec
+++ b/mdadm.spec
@@ -1,8 +1,9 @@
Summary: mdadm is used for controlling Linux md devices (aka RAID arrays)
Name: mdadm
-Version: 2.3.1
+Version: 2.4_pre1
Release: 1
-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
+Source: http://www.cse.unsw.edu.au/~neilb/source/mdadm/mdadm-2.4-pre1.tgz
URL: http://www.cse.unsw.edu.au/~neilb/source/mdadm/
License: GPL
Group: Utilities/System
@@ -19,7 +20,7 @@ configuration file (that a config file can be used to help with
some common tasks).
%prep
-%setup -q
+%setup -q -n mdadm-2.4-pre1
# we want to install in /sbin, not /usr/sbin...
%define _exec_prefix %{nil}
diff --git a/mdassemble.8 b/mdassemble.8
index f2aea68..d482418 100644
--- a/mdassemble.8
+++ b/mdassemble.8
@@ -1,5 +1,5 @@
.\" -*- nroff -*-
-.TH MDASSEMBLE 8 "" v2.3.1
+.TH MDASSEMBLE 8 "" v2.4-pre1
.SH NAME
mdassemble \- assemble MD devices
.I aka