]> www.infradead.org Git - users/dwmw2/qemu.git/commit
block/nfs: tear down aio before nfs_close
authorPeter Lieven <pl@kamp.de>
Tue, 10 Sep 2019 15:41:09 +0000 (17:41 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Oct 2019 21:58:28 +0000 (16:58 -0500)
commit6cb3e9e4f17c182c43ded773a04b1072c881aa78
tree2457722ad3483208aa526caa65c15d578b4b8005
parentc24d971c130d889d4d001d2ae2cb02b9a34d51b6
block/nfs: tear down aio before nfs_close

nfs_close is a sync call from libnfs and has its own event
handler polling on the nfs FD. Avoid that both QEMU and libnfs
are intefering here.

CC: qemu-stable@nongnu.org
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
(cherry picked from commit 601dc6559725f7a614b6f893611e17ff0908e914)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
block/nfs.c