MD RAID1: rename mirror_info structure
authorJonathan Brassow <jbrassow@redhat.com>
Tue, 31 Jul 2012 00:03:52 +0000 (10:03 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 31 Jul 2012 00:03:52 +0000 (10:03 +1000)
commit0eaf822cb3dfcf2a64b2d27f4f6219186adb2695
tree9ff680dca1ecb054793f90df472cedd63d32498d
parentdc280d987f039ef35ac1e59c09b7154b61f385cf
MD RAID1: rename mirror_info structure

MD RAID1: Rename the structure 'mirror_info' to 'raid1_info'

The same structure name ('mirror_info') is used by raid10.  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.  While only one of these structure
names needs to change, this patch adds consistency to the naming of the
structure.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c
drivers/md/raid1.h