md/raid5: simplify raid5_compute_sector interface
commit911d4ee8536d89ea8a6cd3e96b1c95a3ebc5ea66
authorNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:38 +0000 (31 14:39 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 31 Mar 2009 03:39:38 +0000 (31 14:39 +1100)
tree222c79b83b7cdcd0b73501c40ed11092b9af10cf
parentd0dabf7e577411c2bf6b616c751544dc241213d4
md/raid5: simplify raid5_compute_sector interface

Rather than passing 'pd_idx' and 'qd_idx' to be filled in, pass
a 'struct stripe_head *' and fill in the relevant fields.  This is
more extensible.

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