diff options
author | NeilBrown <neilb@suse.de> | 2011-10-11 16:48:59 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-10-11 16:48:59 +1100 |
commit | e373ab109172abc2d821bd3b5c1b400acddef5a5 (patch) | |
tree | 48ca1b8ded6ec90a47015ab7316fe8cadb9f8d05 /drivers/md/raid10.c | |
parent | 69724e28ca99990a8f0b5370bb946d7704936d67 (diff) | |
download | kernel_goldelico_gta04-e373ab109172abc2d821bd3b5c1b400acddef5a5.zip kernel_goldelico_gta04-e373ab109172abc2d821bd3b5c1b400acddef5a5.tar.gz kernel_goldelico_gta04-e373ab109172abc2d821bd3b5c1b400acddef5a5.tar.bz2 |
md/raid0: typedef removal: raid0_conf_t -> struct r0conf
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index d5fb4c8..39661b1 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -3031,15 +3031,15 @@ static void *raid10_takeover_raid0(struct mddev *mddev) static void *raid10_takeover(struct mddev *mddev) { - struct raid0_private_data *raid0_priv; + struct r0conf *raid0_conf; /* raid10 can take over: * raid0 - providing it has only two drives */ if (mddev->level == 0) { /* for raid0 takeover only one zone is supported */ - raid0_priv = mddev->private; - if (raid0_priv->nr_strip_zones > 1) { + raid0_conf = mddev->private; + if (raid0_conf->nr_strip_zones > 1) { printk(KERN_ERR "md/raid10:%s: cannot takeover raid 0" " with more than one zone.\n", mdname(mddev)); |