[PATCH 2/2] Migration of externally managed arrays need majorversion to be set.

[PATCH 2/2] Migration of externally managed arrays need majorversion to be set.

am 22.04.2011 00:56:51 von unknown

without this, array.major/minor defaults to 0/9 and we lack of continuous
suspends.

Signed-off-by: Przemyslaw Czarnowski
---
Grow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Grow.c b/Grow.c
index 9c63036..e3150ee 100644
--- a/Grow.c
+++ b/Grow.c
@@ -1912,7 +1912,7 @@ started:

sra = sysfs_read(fd, 0,
GET_COMPONENT|GET_DEVS|GET_OFFSET|GET_STATE|GET_CHUNK|
- GET_CACHE);
+ GET_CACHE|GET_VERSION);
if (!sra) {
fprintf(stderr, Name ": %s: Cannot get array details from sysfs\n",
devname);
--
1.7.3.4

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html