[PATCH v3 3/3] nvme: use helper nvme_ctrl_state in nvme_keep_alive_finish function
Christoph Hellwig
hch at lst.de
Tue Oct 8 00:06:42 PDT 2024
On Tue, Oct 08, 2024 at 11:51:52AM +0530, Nilay Shroff wrote:
> We no more need acquiring ctrl->lock before accessing the
> NVMe controller state and instead we can now use the helper
> nvme_ctrl_state. So replace the use of ctrl->lock from
> nvme_keep_alive_finish function with nvme_ctrl_state call.
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list