• J
    virfile: Need to check for ENOTCONN from recvfd failure · 29946e3e
    John Ferlan 提交于
    A gnulib change (commit id 'beae0bdc') causes ENOTCONN to be returned
    from recvfd which causes us to fall into the throwaway waitpid() call
    and return ENOTCONN to the caller, this then gets displayed during
    a 'virsh save' when using a root squashed NFS environment that's trying
    to save the file as something other than root:root.
    
    This patch will add the additional check for ENOTCONN to force the code
    into the waitpid loop looking for the actual status from the _exit()'d
    child fork.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    29946e3e
virfile.c 80.8 KB