OSDN Git Service

block/nfs: tear down aio before nfs_close
authorPeter Lieven <pl@kamp.de>
Tue, 10 Sep 2019 15:41:09 +0000 (17:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 13 Sep 2019 10:18:14 +0000 (12:18 +0200)
commit601dc6559725f7a614b6f893611e17ff0908e914
tree2e9b129e2b92bd75e845811145d15a22b5e6acd3
parentd885ac33cfc30a14e0f68c227865910257fd2c44
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>
block/nfs.c