diff options
| author | Stefan Hajnoczi | 2010-11-03 15:29:44 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2010-11-16 21:35:00 +0100 |
| commit | 0290b57bdfec83ca78b6d119ea9847bb17943328 (patch) | |
| tree | 86226f84596042c477b12be9e990af07eb4f9afa /linux-user | |
| parent | usb-linux: Get the active configuration from sysfs rather then asking the dev (diff) | |
| download | qemu-0290b57bdfec83ca78b6d119ea9847bb17943328.tar.gz qemu-0290b57bdfec83ca78b6d119ea9847bb17943328.tar.xz qemu-0290b57bdfec83ca78b6d119ea9847bb17943328.zip | |
Delete IOHandlers after potentially running them
Since commit 4bed9837309e58d208183f81d8344996744292cf an .fd_read()
handler that deletes its IOHandler is exposed to .fd_write() being
called on the deleted IOHandler.
This patch fixes deletion so that .fd_read() and .fd_write() are never
called on an IOHandler that is marked for deletion.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
