[PATCH 4/5] nvme-rdma: Remove duplicate call to nvme_remove_namespaces

Christoph Hellwig hch at lst.de
Mon Aug 1 04:06:04 PDT 2016


> -	nvme_remove_namespaces(&ctrl->ctrl);
> -	nvme_rdma_shutdown_ctrl(ctrl);
>  	nvme_uninit_ctrl(&ctrl->ctrl);
> +	nvme_rdma_shutdown_ctrl(ctrl);

How safe is the reordering here?  The description should explain why
it's fine.



More information about the Linux-nvme mailing list