3 ./drivers/md/md.c | 6 +++++-
4 1 file changed, 5 insertions(+), 1 deletion(-)
6 diff .prev/drivers/md/md.c ./drivers/md/md.c
7 --- .prev/drivers/md/md.c 2006-10-23 10:26:37.000000000 +1000
8 +++ ./drivers/md/md.c 2006-12-21 16:28:29.000000000 +1100
9 @@ -1783,7 +1783,8 @@ state_store(mdk_rdev_t *rdev, const char
11 mddev_t *mddev = rdev->mddev;
12 kick_rdev_from_array(rdev);
13 - md_update_sb(mddev);
15 + md_update_sb(mddev);
19 @@ -1994,6 +1995,8 @@ static mdk_rdev_t *md_import_device(dev_
20 kobject_init(&rdev->kobj);
23 + rdev->saved_raid_disk = -1;
24 + rdev->raid_disk = -1;
26 rdev->data_offset = 0;
28 @@ -3991,6 +3994,7 @@ static int set_array_info(mddev_t * mdde
29 mddev->major_version = info->major_version;
30 mddev->minor_version = info->minor_version;
31 mddev->patch_version = info->patch_version;
32 + mddev->persistent = ! info->not_persistent;
35 mddev->major_version = MD_MAJOR_VERSION;