diff options
| author | Neil Brown <neilb@cse.unsw.edu.au> | 2002-06-18 04:16:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-18 04:16:14 -0700 |
| commit | d2310fab512bbcfddce8d28380d2562f1db46dfd (patch) | |
| tree | e9e0be7fc4b516fabd2f80cdbea7024c3dcd2103 /include | |
| parent | 58aa897f2795da101261a68057c588a8eb09d2c6 (diff) | |
[PATCH] md 8 of 22 - Discard md_make_request in favour of per-personality make_request functions.
As we now have per-device queues, we don't need a common make_request
function that dispatches, we can dispatch directly.
Each *_make_request function is changed to take a request_queue_t
from which it extract the mddev that it needs, and to deduce the
"rw" flag directly from the bio.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/raid/md_k.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/raid/md_k.h b/include/linux/raid/md_k.h index 0862a7fd668c..5734a0275ee7 100644 --- a/include/linux/raid/md_k.h +++ b/include/linux/raid/md_k.h @@ -221,7 +221,7 @@ struct mddev_s struct mdk_personality_s { char *name; - int (*make_request)(mddev_t *mddev, int rw, struct bio *bio); + int (*make_request)(request_queue_t *q, struct bio *bio); int (*run)(mddev_t *mddev); int (*stop)(mddev_t *mddev); int (*status)(char *page, mddev_t *mddev); |
