summaryrefslogtreecommitdiff
path: root/drivers/md/raid10.c
diff options
context:
space:
mode:
authorShaohua Li <shli@kernel.org>2012-10-11 06:34:00 +0400
committerNeilBrown <neilb@suse.de>2012-10-11 06:34:00 +0400
commit4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46 (patch)
tree3bb77592fa5a89b8e7f0ef84b8d7f53122bbd071 /drivers/md/raid10.c
parent57c67df48866d57b50d72eb198ffcc0cf7a6232d (diff)
downloadlinux-4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46.tar.xz
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>
Diffstat (limited to 'drivers/md/raid10.c')
-rw-r--r--drivers/md/raid10.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index 05dc96a950d5..54860604d097 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -2732,8 +2732,9 @@ static void handle_write_completed(struct r10conf *conf, struct r10bio *r10_bio)
}
}
-static void raid10d(struct mddev *mddev)
+static void raid10d(struct md_thread *thread)
{
+ struct mddev *mddev = thread->mddev;
struct r10bio *r10_bio;
unsigned long flags;
struct r10conf *conf = mddev->private;