Skip to content

nvme: avoid race in shutdown namespace removal

Ewan D. Milne requested to merge e-milne/centos-stream-9:bz2014529 into main

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2014529 Upstream Status: From upstream linux mainline Tested: Tested by Ewan D. Milne

This patch fixes a regression in an earlier commit that affects NVMe, it typically shows up as a crash in cdev_device_del() -> device_del() -> klist_put() following a WARN_ON() in the sysfs code.

Signed-off-by: Ewan D. Milne emilne@redhat.com

Merge request reports