diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2008-03-19 21:35:04 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-03-27 20:05:51 -0400 |
commit | bd6c26900bae19bd51abedfc9a8a281afbba3a06 (patch) | |
tree | cb2058d113d81fa4b168b8675f000f8aecbf8b26 /fs | |
parent | 3085354de635179d70c240e6d942bcbd1d93056c (diff) |
virtio_pci: unregister virtio device at device remove
Make sure to call unregister_virtio_device() when a virtio device is removed.
Otherwise, virtio_pci.ko cannot be rmmod'd.
This was spotted by Marcelo Tosatti.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions