]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virStorageSourceChainHasManagedPR: Check propely
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Jun 2019 16:01:38 +0000 (18:01 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Jun 2019 16:04:11 +0000 (18:04 +0200)
commitc779da87ef495a61eea8ee5587ed088a7ced21ae
tree5e72b387e5031b153ab3eb223ae3a7806eae3599
parentc44022f61621d0f05c057b3e0d20ed45ef4afcaf
virStorageSourceChainHasManagedPR: Check propely

In the virStorageSourceChainHasManagedPR() function we iterate
over whole backing chain trying to determine if one of the layers
has managed PR configured. But due to a typo we in fact check the
top layer only.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virstoragefile.c