[PATCH 2/3] nvme: Kill detached namespaces prior to removal

Christoph Hellwig hch at infradead.org
Tue Jun 28 01:32:12 PDT 2016


> +static void nvme_remove_dead_ns(struct nvme_ns *ns)
> +{
> +	nvme_ns_kill(ns);
> +	nvme_ns_remove(ns);
> +}

I would prefer not to add this helper, it just makes the code harder
to read.




More information about the Linux-nvme mailing list