Don't double-unlock d->rlock