summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-02-24 11:34:06 +0100
committerStefan Hajnoczi2020-03-09 17:39:20 +0100
commitc39cbedb54fc49ba41cfe0af36570818025d281e (patch)
treec349dfb4d4174d323fd5fffae246b92a79d7d3ba /include/block
parentqemu/queue.h: clear linked list pointers on remove (diff)
downloadqemu-c39cbedb54fc49ba41cfe0af36570818025d281e.tar.gz
qemu-c39cbedb54fc49ba41cfe0af36570818025d281e.tar.xz
qemu-c39cbedb54fc49ba41cfe0af36570818025d281e.zip
aio-posix: remove confusing QLIST_SAFE_REMOVE()
QLIST_SAFE_REMOVE() is confusing here because the node must be on the list. We actually just wanted to clear the linked list pointers when removing it from the list. QLIST_REMOVE() now does this, so switch to it. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Link: https://lore.kernel.org/r/20200224103406.1894923-3-stefanha@redhat.com Message-Id: <20200224103406.1894923-3-stefanha@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions