diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-07-31 04:03:52 +0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-31 04:03:52 +0400 |
commit | dc280d987f039ef35ac1e59c09b7154b61f385cf (patch) | |
tree | 470cf571b46bff86454106f1f549028c8415fcd8 /drivers/md/raid10.h | |
parent | 3bbae04b126fbd4c191b4167ea46ba9c4da46425 (diff) | |
download | linux-dc280d987f039ef35ac1e59c09b7154b61f385cf.tar.xz |
MD RAID10: rename mirror_info structure
MD RAID10: Rename the structure 'mirror_info' to 'raid10_info'
The same structure name ('mirror_info') is used by raid1. Each of these
structures are defined in there respective header files. If dm-raid is
to support both RAID1 and RAID10, the header files will be included and
the structure names must not collide.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid10.h')
-rw-r--r-- | drivers/md/raid10.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/md/raid10.h b/drivers/md/raid10.h index 135b1b0a1554..ecdb440b003a 100644 --- a/drivers/md/raid10.h +++ b/drivers/md/raid10.h @@ -1,7 +1,7 @@ #ifndef _RAID10_H #define _RAID10_H -struct mirror_info { +struct raid10_info { struct md_rdev *rdev, *replacement; sector_t head_position; int recovery_disabled; /* matches @@ -13,8 +13,8 @@ struct mirror_info { struct r10conf { struct mddev *mddev; - struct mirror_info *mirrors; - struct mirror_info *mirrors_new, *mirrors_old; + struct raid10_info *mirrors; + struct raid10_info *mirrors_new, *mirrors_old; spinlock_t device_lock; /* geometry */ |