libmultipath: make path_discovery() pthread_cancel()-safe
authorMartin Wilck <mwilck@suse.com>
Sat, 12 Oct 2019 21:27:57 +0000 (21:27 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 2 Mar 2020 08:17:14 +0000 (09:17 +0100)
commitea29167bb9ae8a159a5262e8c8077172ea844dea
tree9ccee0fde7734208e016c157067c0c620bc8829d
parent0f0d349f49f2f9bd640a11d1c9d324faa7036149
libmultipath: make path_discovery() pthread_cancel()-safe

The udev_enumerate and udev_device refs wouldn't be released
if the thread was cancelled. Fix it.

Signed-off-by: Martin Wilck <mwilck@suse.com>
libmultipath/discovery.c