summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorStefan Hajnoczi2020-02-14 18:17:10 +0100
committerStefan Hajnoczi2020-02-22 09:26:47 +0100
commit195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117 (patch)
tree5178e83f699e90927825a009012c9ff17047c12c /util
parentaio-posix: don't pass ns timeout to epoll_wait() (diff)
downloadqemu-195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117.tar.gz
qemu-195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117.tar.xz
qemu-195ed8cb365edeb0d0a70a2ffdeb7a073f9a8117.zip
qemu/queue.h: add QLIST_SAFE_REMOVE()
QLIST_REMOVE() assumes the element is in a list. It also leaves the element's linked list pointers dangling. Introduce a safe version of QLIST_REMOVE() and convert open-coded instances of this pattern. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20200214171712.541358-4-stefanha@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions