Skip to content
Commit c7c15ae3 authored by Hou Tao's avatar Hou Tao Committed by Christoph Hellwig
Browse files

nvme-multipath: set ana_log_size to 0 after free ana_log_buf



Set ana_log_size to 0 when ana_log_buf is freed to make sure
nvme_mpath_init_identify will do the right thing when retrying
after an earlier failure.

Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 793fcab8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment