diff options
author | Guoqing Jiang <gqjiang@suse.com> | 2016-08-12 07:42:34 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2016-09-21 18:09:44 +0200 |
commit | e566aef12a166732b7fd85897f8736ccf4fc7814 (patch) | |
tree | c935ed99cd0f684f5fe62a450d4c10fc1e30d63c /kernel/Makefile | |
parent | Merge tag 'usercopy-v4.8-rc8' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
download | linux-e566aef12a166732b7fd85897f8736ccf4fc7814.tar.xz linux-e566aef12a166732b7fd85897f8736ccf4fc7814.zip |
md-cluster: call md_kick_rdev_from_array once ack failed
The new_disk_ack could return failure if WAITING_FOR_NEWDISK
is not set, so we need to kick the dev from array in case
failure happened.
And we missed to check err before call new_disk_ack othwise
we could kick a rdev which isn't in array, thanks for the
reminder from Shaohua.
Reviewed-by: NeilBrown <neilb@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'kernel/Makefile')
0 files changed, 0 insertions, 0 deletions