summaryrefslogtreecommitdiffstats
path: root/mm/swapfile.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-07-07 08:26:45 +0100
committerRusty Russell <rusty@rustcorp.com.au>2009-07-17 21:47:47 +0930
commit4b892e6582e3a4fe01f623aea386907270d5bf83 (patch)
tree82214468d537c8cf90b1fc0195bf33c688db3bfd /mm/swapfile.c
parentd9ecdea7ed7467db32ec160f4eca46c279255606 (diff)
downloadop-kernel-dev-4b892e6582e3a4fe01f623aea386907270d5bf83.zip
op-kernel-dev-4b892e6582e3a4fe01f623aea386907270d5bf83.tar.gz
virtio-pci: correctly unregister root device on error
If pci_register_driver() fails we're incorrectly unregistering the root device with device_unregister() rather than root_device_unregister(). Reported-by: Don Zickus <dzickus@redhat.com> Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'mm/swapfile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud