rem: pthread_cond_broadcast(&sf->write_req_finished);
add: pthread_cond_broadcast(&sf->write_finished);
context: static void sshfs_write_end(struct request *req){    uint32_t serr;    struct sshfs_file *sf = (struct sshfs_file *) req->data;    pthread_mutex_lock(&lock);    if (req->replied) {        if (req->reply_type != SSH_FXP_STATUS)            fprintf(stderr, "protocol error\n");        else if (buf_get_uint32(&req->reply, &serr) != -1 && serr != SSH_FX_OK)            sf->write_error = -EIO;    }    list_del(&req->list);    pthread_cond_broadcast(&sf->write_req_finished);    pthread_mutex_unlock(&lock);}