libvirt
/
libvirt
|
master
|
17 mins and 49 secs
|
Michal Privoznik
|
security: Don't try to lock NULL paths
It may happen that in the list of paths/disk sources to relabel there is a disk source. If that is the case, the path is NULL. In that case, we shouldn't try to lock the path. It's likely a network disk anyway and therefore there is nothing to lock.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com>
|
|