[PATCH 1/2] NVMe: Add controller state for scheduling resets

Christoph Hellwig hch at infradead.org
Tue May 31 14:04:46 PDT 2016


> +int nvme_reset_ctrl(struct nvme_ctrl *ctrl)
> +{
> +	if (!nvme_change_ctrl_state(ctrl, NVME_CTRL_SCHED_RESET))
> +		return -EBUSY;
> +
> +	return ctrl->ops->reset_ctrl(ctrl);
> +}
> +EXPORT_SYMBOL(nvme_reset_ctrl);

should be EXPORT_SYMBOL_GPL to match all the other symbols.

Otherwise looks fine:

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the Linux-nvme mailing list