> +     perr = pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, &old);
> +     if (perr)
> +             goto out;
>  

> +out:
> +     if (peer_fd != -1)
> +             close(peer_fd);
> +     if (perr)
> +             ret = -perr;
> +     return ERR_PTR(ret);
>  }

Great, that's a lot clearer.  Thanks.

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to