diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.de> | 2015-04-14 17:43:55 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-04-21 23:59:39 +0200 |
commit | 57d051dccaef395e0d8c0fff02cfc3a77bacc88c (patch) | |
tree | 250d78ba0fad52865ad28f54de4dd21e810cb14f /drivers/md/md.h | |
parent | md: Export and rename kick_rdev_from_array (diff) | |
download | linux-57d051dccaef395e0d8c0fff02cfc3a77bacc88c.tar.xz linux-57d051dccaef395e0d8c0fff02cfc3a77bacc88c.zip |
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 d98c0d764d8f..ecdce36ec6b8 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, |