diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2015-04-14 15:43:55 (GMT) |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-21 21:59:39 (GMT) |
commit | 57d051dccaef395e0d8c0fff02cfc3a77bacc88c (patch) | |
tree | 250d78ba0fad52865ad28f54de4dd21e810cb14f /drivers/md/md.h | |
parent | fb56dfef4e31f214cfbfa0eb8a1949591c20b118 (diff) | |
download | linux-57d051dccaef395e0d8c0fff02cfc3a77bacc88c.tar.xz |
md: Export and rename find_rdev_nr_rcu
This is required by the clustering module (patches to follow) to
find the device to remove or re-add.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index d98c0d7..ecdce36 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -672,6 +672,7 @@ 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); +struct md_rdev *md_find_rdev_nr_rcu(struct mddev *mddev, int nr); static inline int mddev_check_plugged(struct mddev *mddev) { return !!blk_check_plugged(md_unplug, mddev, |