diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-15 01:52:33 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-10-15 01:55:12 +0200 |
commit | e67423c7b4f20c327de533b068907aab33720482 (patch) | |
tree | 48c0db846c0d9ca6bea32f87adfbfebb5b385c2c /Documentation/ioctl/botching-up-ioctls.txt | |
parent | virito_scsi: use freezable WQ for events (diff) | |
download | linux-e67423c7b4f20c327de533b068907aab33720482.tar.xz linux-e67423c7b4f20c327de533b068907aab33720482.zip |
virtio_scsi: fix race on device removal
We cancel event work on device removal, but an interrupt
could trigger immediately after this, and queue it
again.
To fix, set a flag.
Loosely based on patch by Paolo Bonzini
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'Documentation/ioctl/botching-up-ioctls.txt')
0 files changed, 0 insertions, 0 deletions