diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-23 18:57:19 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-12-09 12:05:27 +0200 |
commit | 38f37b578f7d62a827d6f42e21d55bf428f9af8e (patch) | |
tree | 8903656c108162efa3825324295c872d682b769e /drivers/base/isa.c | |
parent | 393c525b5bea6989380c4b57508ec901488079f0 (diff) |
virtio_blk: fix race at module removal
If a device appears while module is being removed,
driver will get a callback after we've given up
on the major number.
In theory this means this major number can get reused
by something else, resulting in a conflict.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'drivers/base/isa.c')
0 files changed, 0 insertions, 0 deletions