commit | 38f37b578f7d62a827d6f42e21d55bf428f9af8e | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Thu Oct 23 18:57:19 2014 +0300 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Dec 09 12:05:27 2014 +0200 |
tree | 8903656c108162efa3825324295c872d682b769e | |
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>