]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MD RAID1: rename mirror_info structure
authorJonathan Brassow <jbrassow@redhat.com>
Thu, 19 Jul 2012 10:49:57 +0000 (20:49 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 19 Jul 2012 10:49:57 +0000 (20:49 +1000)
commit93d923d0b679ace9aed1f989f5fb008553945a28
treec2c95fba9ba56ec7ff7d7fcf5f036e7a0365b8b3
parent0dfba6621910320f7a33119c6b736a5a1c303d08
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