]> git.proxmox.com Git - mirror_qemu.git/commit - block/nvme.c
block/nvme: clarify that free_req_queue is protected by q->lock
authorStefan Hajnoczi <stefanha@redhat.com>
Wed, 17 Jun 2020 13:21:59 +0000 (14:21 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 23 Jun 2020 14:46:08 +0000 (15:46 +0100)
commita5db74f324ee55badfa61b03922ec24439bb94a6
tree716d9754acb9e85b9e534c0192ebeba8cb126ab6
parent1086e95da1705087db542276dcbb8ba4d55cb97f
block/nvme: clarify that free_req_queue is protected by q->lock

Existing users access free_req_queue under q->lock. Document this.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200617132201.1832152-6-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/nvme.c