summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-23 10:17:56 +1100
committerNeilBrown <neilb@suse.de>2011-12-23 10:17:56 +1100
commit301946364e0aa67c4cfaec82e94c389993c9f7c6 (patch)
treefff6390d22ba68f6726700cd4979f0de4c205a6f /drivers/md/raid1.h
parentb7044d41b5a09ce9082699f74c8f10e0fe59f704 (diff)
downloadblackbird-obmc-linux-301946364e0aa67c4cfaec82e94c389993c9f7c6.tar.gz
blackbird-obmc-linux-301946364e0aa67c4cfaec82e94c389993c9f7c6.zip
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>
Diffstat (limited to 'drivers/md/raid1.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud