summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.de>2015-04-14 17:43:24 +0200
committerNeilBrown <neilb@suse.de>2015-04-21 23:59:39 +0200
commitfb56dfef4e31f214cfbfa0eb8a1949591c20b118 (patch)
tree62421135b80e9abc3f2668e38db57a71ead02480 /drivers/md/md.h
parentmd-cluster: correct the num for comparison (diff)
downloadlinux-fb56dfef4e31f214cfbfa0eb8a1949591c20b118.tar.xz
linux-fb56dfef4e31f214cfbfa0eb8a1949591c20b118.zip
md: Export and rename kick_rdev_from_array
This export is required for clustering module in order to co-ordinate remove/readd a rdev from all nodes. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 6dc0ce09f50c..d98c0d764d8f 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -671,6 +671,7 @@ extern struct bio *bio_alloc_mddev(gfp_t gfp_mask, int nr_iovecs,
extern void md_unplug(struct blk_plug_cb *cb, bool from_schedule);
extern void md_reload_sb(struct mddev *mddev);
extern void md_update_sb(struct mddev *mddev, int force);
+extern void md_kick_rdev_from_array(struct md_rdev * rdev);
static inline int mddev_check_plugged(struct mddev *mddev)
{
return !!blk_check_plugged(md_unplug, mddev,