]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: Alter param to nodeDeviceUpdateDriverName
authorJohn Ferlan <jferlan@redhat.com>
Fri, 12 May 2017 20:04:19 +0000 (16:04 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 3 Jun 2017 12:34:34 +0000 (08:34 -0400)
commit381bbfbbb603716c6745e83260b90ed758a9050c
treee8ccc2a14ca0a90c066f1be91125fcfd3cd9612d
parent18c551f37875eed9f1f3236872689d8683bb0b5d
nodedev: Alter param to nodeDeviceUpdateDriverName

Rather than taking an virNodeDeviceObjPtr and dereffing the obj->def,
just pass the def.

Also check for an error in the function to have the calling function goto
cleanup on error.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/node_device/node_device_driver.c