]> git.ipfire.org Git - thirdparty/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>
Mon, 28 Oct 2019 05:03:19 +0000 (00:03 -0500)
commit0694c489cd240620fee5675e8d24c7ce02d1d67d
treed5702a7ec190c8a894f3da63f94a544b8e92f03a
parentc9ffb12754b1575babfef45168b6e1b1af80a95f
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