On Fri, 08/03 08:13, Paolo Bonzini wrote:
> On 03/08/2018 04:42, Fam Zheng wrote:
> > Paolo, is this else branch dead code (or bug?):
> >
> > /* If the lock is held, just mark the node as deleted */
> > if (qemu_lockcnt_count(&ctx->list_lock)) {
> > node->deleted = 1;
>
On 03/08/2018 04:42, Fam Zheng wrote:
> Paolo, is this else branch dead code (or bug?):
>
> /* If the lock is held, just mark the node as deleted */
> if (qemu_lockcnt_count(&ctx->list_lock)) {
> node->deleted = 1;
> node->pfd.revents = 0;
> } else {
Paolo, is this else branch dead code (or bug?):
/* If the lock is held, just mark the node as deleted */
if (qemu_lockcnt_count(&ctx->list_lock)) {
node->deleted = 1;
node->pfd.revents = 0;
} else {
/* Otherwise, delete it for real. We c