diff options
author | Shaohua Li <shli@kernel.org> | 2012-10-11 13:34:00 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-11 13:34:00 +1100 |
commit | 4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46 (patch) | |
tree | 3bb77592fa5a89b8e7f0ef84b8d7f53122bbd071 /drivers/md/raid1.c | |
parent | 57c67df48866d57b50d72eb198ffcc0cf7a6232d (diff) | |
download | op-kernel-dev-4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46.zip op-kernel-dev-4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46.tar.gz |
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/raid1.c')
-rw-r--r-- | drivers/md/raid1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index 05c557e..55ccf47 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -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; |