MD: change the parameter of md thread

Change the thread parameter, so the thread can carry extra info. Next patch
will use it.

Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Shaohua Li
2012-10-11 13:34:00 +11:00
committed by NeilBrown
parent 57c67df488
commit 4ed8731d8e
6 changed files with 17 additions and 11 deletions

View File

@ -335,8 +335,9 @@ abort:
* 3. Performs writes following reads for array syncronising.
*/
static void multipathd (struct mddev *mddev)
static void multipathd(struct md_thread *thread)
{
struct mddev *mddev = thread->mddev;
struct multipath_bh *mp_bh;
struct bio *bio;
unsigned long flags;