diff options
author | Shaohua Li <shli@kernel.org> | 2012-10-10 22:34:00 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-10 22:34:00 -0400 |
commit | 4ed8731d8e6bd2a88a30697fbf4f7e6e979a6c46 (patch) | |
tree | 3bb77592fa5a89b8e7f0ef84b8d7f53122bbd071 /drivers/md/multipath.c | |
parent | 57c67df48866d57b50d72eb198ffcc0cf7a6232d (diff) |
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/multipath.c')
-rw-r--r-- | drivers/md/multipath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c index 61a1833ebaf3..1642eae75a33 100644 --- a/drivers/md/multipath.c +++ b/drivers/md/multipath.c | |||
@@ -335,8 +335,9 @@ abort: | |||
335 | * 3. Performs writes following reads for array syncronising. | 335 | * 3. Performs writes following reads for array syncronising. |
336 | */ | 336 | */ |
337 | 337 | ||
338 | static void multipathd (struct mddev *mddev) | 338 | static void multipathd(struct md_thread *thread) |
339 | { | 339 | { |
340 | struct mddev *mddev = thread->mddev; | ||
340 | struct multipath_bh *mp_bh; | 341 | struct multipath_bh *mp_bh; |
341 | struct bio *bio; | 342 | struct bio *bio; |
342 | unsigned long flags; | 343 | unsigned long flags; |