[PATCH v2 1/1] nvme: fix CMB sysfs file removal in reset path

Stephen Bates sbates at raithlin.com
Mon Aug 7 06:13:48 PDT 2017


> Currently we create the sysfs entry even if we fail mapping
> it. In that case, the unmapping will not remove the sysfs created
> file. There is no good reason to create a sysfs entry for a non
> working CMB and show his characteristics.
>
> Fixes: f63572dff ("nvme: unmap CMB and remove sysfs file in reset path")

Looks good.

Reviewed-by: Stephen Bates <sbates at raithlin.com>



More information about the Linux-nvme mailing list