]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: virfile: Rewrite matching of FUSE-based shared filesystems
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Sep 2022 12:05:55 +0000 (14:05 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 5 Sep 2022 15:32:14 +0000 (17:32 +0200)
commitad0cbefb13a8a239e2b004348de57dfb76f32531
treef2003b1886848aa3d87fca830eff8fd414df210b
parent51741c40b8e8f55c0fabffb3ea7d3a16d27a36b8
util: virfile: Rewrite matching of FUSE-based shared filesystems

'virFileIsSharedFixFUSE' was used to update the 'f_type' field for
certain shared filesystem types.

This patch renames it to 'virFileIsSharedFsFUSE' and makes it directly
return whether the FUSE filesystem is shared or not and simplifies
additions to the list of shared FUSE filesystems.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virfile.c