git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd7f8d
)
virtio_blk: fix race at module removal
author
Michael S. Tsirkin
<mst@redhat.com>
Sun, 9 Nov 2014 23:04:29 +0000
(09:34 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 11 Nov 2014 06:39:57 +0000
(17:09 +1030)
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.
To fix, cleanup in reverse order of initialization.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/block/virtio_blk.c
patch
|
blob
|
history
diff --cc
drivers/block/virtio_blk.c
Simple merge