[PATCH v1] nvme-tcp: forward context to teardown admin queue function

Christoph Hellwig hch at lst.de
Mon Oct 14 21:55:12 PDT 2024


On Mon, Oct 14, 2024 at 06:53:29PM +0200, Daniel Wagner wrote:
> nvme_tcp_setup_ctrl is called from different contexts. If the function
> is called as part of the initial controller creation, the argument 'new'
> is set to true. This tells the function to free all resources when an
> error occurs.
> 
> Thus nvme_tcp_teardown_admin_queue should also be called with 'new' and
> not always with 'false'.

Looks good:

Reviewed-by: Christoph Hellwig <hch at lst.de>




More information about the Linux-nvme mailing list