diff options
author | NeilBrown <neilb@suse.de> | 2010-07-26 12:04:13 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-26 12:53:10 +1000 |
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 6acd458f239..36eaed5dfd6 100644 --- a/drivers/md/raid5.h +++ b/drivers/md/raid5.h @@ -502,5 +502,6 @@ static inline int algorithm_is_DDF(int layout) } extern int md_raid5_congested(mddev_t *mddev, int bits); +extern void md_raid5_unplug_device(raid5_conf_t *conf); extern int raid5_set_cache_size(mddev_t *mddev, int size); #endif |