• J
    virfile: Check for existence of dir in virFileDeleteTree · b421a708
    John Ferlan 提交于
    Commit id 'f1f68ca3' added code to remove the directory paths for
    auto-generated sockets, but that code could be called before the
    paths were created resulting in generating error messages from
    virFileDeleteTree indicating that the file doesn't exist.
    
    Rather than "enforce" all callers to make the non-NULL and existence
    checks, modify the virFileDeleteTree API to silently ignore NULL on
    input and non-existent directory trees.
    b421a708
virhostdevtest.c 13.3 KB