diff options
author | NeilBrown <neilb@suse.de> | 2010-07-25 22:04:13 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-25 22:53:10 -0400 |
commit | 9f7c2220017771253d7d10b3cc017cb79eeac0fb (patch) | |
tree | 91e387cc225d59ac975b53590c4a75e20770b5ce /drivers/md/raid5.h | |
parent | 252ac5221a71be72b7e7c7b7482af91e9c962e8c (diff) |
md/raid5: export raid5 unplugging interface.
Also remove remaining accesses to ->queue and ->gendisk when ->queue
is NULL (As it is in a DM target).
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/raid5.h')
-rw-r--r-- | drivers/md/raid5.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/raid5.h b/drivers/md/raid5.h index 6acd458f239d..36eaed5dfd6e 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h | |||
@@ -502,5 +502,6 @@ static inline int algorithm_is_DDF(int layout) | |||
502 | } | 502 | } |
503 | 503 | ||
504 | extern int md_raid5_congested(mddev_t *mddev, int bits); | 504 | extern int md_raid5_congested(mddev_t *mddev, int bits); |
505 | extern void md_raid5_unplug_device(raid5_conf_t *conf); | ||
505 | extern int raid5_set_cache_size(mddev_t *mddev, int size); | 506 | extern int raid5_set_cache_size(mddev_t *mddev, int size); |
506 | #endif | 507 | #endif |