[PATCH 3/3] nvme: Put invalid namespaces on removal list

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


> +		if (ns->ns_id > nsid) {
> +			list_del_init(&ns->list);
> +			list_add_tail(&ns->list, &rm_list);
> +		}

This should use list_move_tail instead of the list_del_init /
list_add_tail combination.



More information about the Linux-nvme mailing list