From d2310fab512bbcfddce8d28380d2562f1db46dfd Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 18 Jun 2002 04:16:14 -0700 Subject: [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. --- include/linux/raid/md_k.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/linux/raid') 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); -- cgit v1.2.3