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(a)redhat.com>
---
src/util/virfile.c | 8 ++++----
tests/virfiletest.c | 3 +--
2 files changed, 5 insertions(+), 6 deletions(-)
Reviewed-by: Jiri Denemark <jdenemar(a)redhat.com>