diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-12-21 02:51:00 +0300 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2016-01-06 03:38:42 +0300 |
commit | 54a88392cdd84b4a739ce3a986bfabfaff67d9d2 (patch) | |
tree | 790237579c448bc12a4f7be7f19dd6dc81815c61 /drivers/md/md-cluster.c | |
parent | 659b254fa7392e32b59a30d4b61fb12c4cd440ff (diff) | |
download | linux-54a88392cdd84b4a739ce3a986bfabfaff67d9d2.tar.xz |
md-cluster: Fix the remove sequence with the new MD reload code
The remove disk message does not need metadata_update_start(), but
can be an independent message.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c index 3fd7301fd7af..b58374daff32 100644 --- a/drivers/md/md-cluster.c +++ b/drivers/md/md-cluster.c @@ -997,7 +997,7 @@ static int remove_disk(struct mddev *mddev, struct md_rdev *rdev) struct md_cluster_info *cinfo = mddev->cluster_info; cmsg.type = cpu_to_le32(REMOVE); cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); - return __sendmsg(cinfo, &cmsg); + return sendmsg(cinfo, &cmsg); } static int gather_bitmaps(struct md_rdev *rdev) |