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

@@ -2294,8 +2294,9 @@ read_more:
}
}
static void raid1d(struct mddev *mddev)
static void raid1d(struct md_thread *thread)
{
struct mddev *mddev = thread->mddev;
struct r1bio *r1_bio;
unsigned long flags;
struct r1conf *conf = mddev->private;