[PATCH] nvme-multipath: zeroing ana_log_size as well after free ana_log_buf
Hou Tao
houtao1 at huawei.com
Mon Dec 6 01:43:10 PST 2021
Hi,
On 12/6/2021 3:53 PM, Christoph Hellwig wrote:
>> if (ana_log_size > ctrl->ana_log_size) {
>> nvme_mpath_stop(ctrl);
>> - kfree(ctrl->ana_log_buf);
>> + nvme_mpath_uninit(ctrl);
> This hunk looks unrelated.
It will be related if the value of ana_log_size is reduced again, so you mean
the reduction is impossible ?
> .
More information about the Linux-nvme
mailing list