diff options
author | NeilBrown <neilb@suse.de> | 2006-03-27 04:18:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:45:00 -0500 |
commit | 89e5c8b5b85d6d46e8a28cdfa076313ae691d35c (patch) | |
tree | 61ef0df8f33900f926d6ebd81f295063cb0601b3 /drivers/md | |
parent | a22c96c737a9cefbe8d6e991c0032ad6db825a67 (diff) |
[PATCH] md: Make sure QUEUE_FLAG_CLUSTER is set properly for md.
This flag should be set for a virtual device iff it is set for all underlying
devices.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index bde3e9682250..3254ff1a5cc9 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -266,6 +266,7 @@ static mddev_t * mddev_find(dev_t unit) | |||
266 | kfree(new); | 266 | kfree(new); |
267 | return NULL; | 267 | return NULL; |
268 | } | 268 | } |
269 | set_bit(QUEUE_FLAG_CLUSTER, &new->queue->queue_flags); | ||
269 | 270 | ||
270 | blk_queue_make_request(new->queue, md_fail_request); | 271 | blk_queue_make_request(new->queue, md_fail_request); |
271 | 272 | ||