summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNeil Brown <neilb@cse.unsw.edu.au>2002-06-18 04:16:14 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-18 04:16:14 -0700
commitd2310fab512bbcfddce8d28380d2562f1db46dfd (patch)
treee9e0be7fc4b516fabd2f80cdbea7024c3dcd2103 /include/linux
parent58aa897f2795da101261a68057c588a8eb09d2c6 (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/linux')
-rw-r--r--include/linux/raid/md_k.h2
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);