> +int nvmet_setup_auth(struct nvmet_ctrl *ctrl)
> +{
> + int ret = 0;
> + struct nvmet_host_link *p;
> + struct nvmet_host *host = NULL;
> + const char *hash_name;
> +
> + down_read(&nvmet_config_sem);
> + if (ctrl->subsys->type == NVME_NQN_DISC)
> + goto out_unlock;
+ if (ctrl->subsys->allow_any_host)
+ goto out_unlock;