[libvirt] [PATCH 1/4] nodedev: Add check for NULL obj before call Unlock
Peter Krempa
pkrempa at redhat.com
Wed Jun 28 11:48:53 UTC 2017
On Wed, Jun 28, 2017 at 07:37:35 -0400, John Ferlan wrote:
> Commit id '95ea171b' was a bit too aggressive in removing the if (obj)
> check since cleanup is reachable after Unlock and obj = NULL.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> src/node_device/node_device_driver.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170628/f83ac465/attachment-0001.sig>
More information about the libvir-list
mailing list