[PATCH 1/3] nvmet: prevent redundant enable/disable of nvmet_port

Christoph Hellwig hch at lst.de
Mon Sep 22 10:33:16 PDT 2025


On Sun, Sep 21, 2025 at 02:49:41AM +0300, Max Gurtovoy wrote:
> Add early return checks in nvmet_enable_port() and nvmet_disable_port()
> to avoid redundant operations if the port is already enabled or
> disabled.

Looks good:

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




More information about the Linux-nvme mailing list