mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
nvme-fc: use ctrl state getter
[ Upstream commitc8ed6cb5d3] Do not access the state variable directly, instead use proper synchronization so not stale data is read. Fixes:e6e7f7ac03("nvme: ensure reset state check ordering") Signed-off-by: Daniel Wagner <wagi@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5eba53a9ea
commit
8ed1b13a38
1 changed files with 6 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue