Re: [PATCH 3/4] virFileIsSharedFSType: Detect direct mount points

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 09, 2018 at 15:48:46 +0200, Michal Privoznik wrote:
> If the given path is already a mount point (e.g. a bind mount of
> a file, or simply a direct mount point of a FS), then our code
> fails to detect that because the first thing it does is cutting
> off part after last slash '/'.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/util/virfile.c  | 8 ++++----
>  tests/virfiletest.c | 3 +--
>  2 files changed, 5 insertions(+), 6 deletions(-)

Reviewed-by: Jiri Denemark <jdenemar@xxxxxxxxxx>

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux