commit | 6d3c7fb17b4c047ccd0b42cf1308da693ab45acb | [log] [tgz] |
---|---|---|
author | Keith Busch <kbusch@kernel.org> | Wed Jan 24 09:27:27 2024 -0800 |
committer | Keith Busch <kbusch@kernel.org> | Mon Jan 29 07:02:50 2024 -0800 |
tree | e219029aeb82327159efc5a90f0de9a30a35993b | |
parent | 47c5dd66c1840524572dcdd956f4af2bdb6fbdff [diff] |
nvme: use ctrl state accessor The ctrl->state value is updated in another thread using WRITE_ONCE, so ensure all the readers use the appropriate accessor. Reviewed-by: Sagi Grimberg <sagi@grmberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Keith Busch <kbusch@kernel.org>