]> git.karo-electronics.de Git - karo-tx-linux.git/commit
md/raid1: Replace use of mddev->raid_disks with conf->raid_disks.
authorNeilBrown <neilb@suse.de>
Fri, 9 Dec 2011 03:27:07 +0000 (14:27 +1100)
committerNeilBrown <neilb@suse.de>
Fri, 9 Dec 2011 03:27:07 +0000 (14:27 +1100)
commit24753666d6dd3d2de9895af6235be0a9af36b8bd
tree6762718842d56133e6a32d32eeb3d273b67283cf
parent8381108e4e9be697e81fe761ee040e8b501dcb12
md/raid1:  Replace use of mddev->raid_disks with conf->raid_disks.

In general mddev->raid_disks can change unexpectedly while
conf->raid_disks will only change in a very controlled way.  So change
some uses of one to the other.

The use of mddev->raid_disks will not cause actually problems but
this way is more consistent and safer in the long term.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid1.c