summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-07-26 12:04:13 +1000
committerNeilBrown <neilb@suse.de>2010-07-26 12:53:10 +1000
commit9f7c2220017771253d7d10b3cc017cb79eeac0fb (patch)
tree91e387cc225d59ac975b53590c4a75e20770b5ce /drivers/md/raid5.h
parent252ac5221a71be72b7e7c7b7482af91e9c962e8c (diff)
downloadlinux-9f7c2220017771253d7d10b3cc017cb79eeac0fb.tar.bz2
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.h1
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)
}
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