[PATCH 1/1] nvmet: add sanity checks when freeing subsystem

Keith Busch kbusch at kernel.org
Wed Sep 24 15:14:29 PDT 2025


On Wed, Sep 24, 2025 at 11:35:44PM +0300, Max Gurtovoy wrote:
> Add WARN_ON_ONCE checks in nvmet_subsys_free() to ensure that the
> ctrls and hosts lists are all empty during subsystem release. This helps
> catch resource leaks.

Looks good, applied to nvme-6.18.



More information about the Linux-nvme mailing list