28439890e4
Global tgt->discovery_log_page may contain old hostnqn log page, so we will update the discovery log page if the offset is zero. Change-Id: Iba24409b16626d157d2782c6813fe5a0c27f1082 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463123 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: <shahar.salzman@kaminario.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>