diff options
author | Nilay Shroff <nilay@linux.ibm.com> | 2024-10-16 08:33:16 +0530 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-10-17 11:07:37 -0700 |
commit | 599d9f3a10eec69ef28a90161763e4bd7c9c02bf (patch) | |
tree | c36e34d27d5419c7819b931c44a1f6eaaef81d12 /security | |
parent | d06923670b5a5f609603d4a9fee4dec02d38de9c (diff) |
nvme: use helper nvme_ctrl_state in nvme_keep_alive_finish function
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.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions