]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Rework virFileIsSharedFSOverride using virFileCheckParents
authorJiri Denemark <jdenemar@redhat.com>
Fri, 5 Dec 2025 15:52:32 +0000 (16:52 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 10 Dec 2025 11:40:15 +0000 (12:40 +0100)
commiteedf9ed68b45585569865604bf2a403670feaf3e
tree639e9e71ab0167cef1032c98adfbaaaf2bd91559
parent3a44f0c23d75519a9a374f790f4b91ab7b65a138
util: Rework virFileIsSharedFSOverride using virFileCheckParents

The newly introduced virFileCheckParents is generic enough to be used
for checking whether a specific path or any of its parents is included
in the overrides array.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/util/virfile.c