Re: [PATCH v2 mdadm 1/1] Specify nodes number when updating cluster nodes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07/26/2020 05:05 PM, Wols Lists wrote:
On 23/07/20 12:20, Xiao Ni wrote:
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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux