84fd470 Fix bug in identifying sub-mounts

Authored and Committed by berrange 10 years ago
    Fix bug in identifying sub-mounts
    
    The code for extracting sub-mounts would just do a STRPREFIX
    check on the mount. This was flawed because if there were
    the following mounts
    
     /etc/aliases
     /etc/aliases.db
    
    and '/etc/aliases' was asked for, it would return both even
    though the latter isn't a sub-mount.
    
    Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
    
        
file modified
+3 -1
file modified
+8 -0