Re: [PATCH v2 mdadm 1/1] Specify nodes number when updating cluster nodes
From: Xiao Ni <hidden>
Date: 2020-07-26 13:44:01
From: Xiao Ni <hidden>
Date: 2020-07-26 13:44:01
On 07/26/2020 05:05 PM, Wols Lists wrote:
On 23/07/20 12:20, Xiao Ni wrote:quoted
Now it allow updating cluster nodes without specify --nodes. It can write superblock with zero nodes. It can break the current cluster. Add this check to avoid this problem. v2: It needs check c.update first to void NULL pointer reference^^^^ Do you mean "avoid"?
Hi Wol Yes. Thanks for pointing out the error. I'll re-send the patch Regards Xiao