rem: printf("*** remove_cached_dev: block %ld has lock = %d, flags "
add: printf("*** remove_cached_dev: block %Ld has lock = %d, flags "
context: real_remove_cached_blocks(int dev, int allow_writes, cache_ent_list *cel){    void      *junk;    cache_ent *ce, *next = NULL;        for(ce=cel->lru; ce; ce=next) {        next = ce->next;        if (ce->dev != dev) {            continue;        }        if (ce->lock != 0 || (ce->flags & CE_BUSY)) {            printf("*** remove_cached_dev: block %ld has lock = %d, flags "                   "0x%x! ce @ 0x%lx\n", ce->block_num, ce->lock, ce->flags,                   (ulong)ce);        }                if (allow_writes == ALLOW_WRITES &&            ((ce->flags & CE_DIRTY) || ce->clone)) {            ce->flags |= CE_BUSY;            flush_cache_ent(ce);            ce->flags &= ~CE_BUSY;        }        /* unlink this guy */        if (cel->lru == ce)            cel->lru = ce->next;        if (cel->mru == ce)            cel->mru = ce->prev;                            if (ce->prev)            ce->prev->next = ce->next;        if (ce->next)            ce->next->prev = ce->prev;        if (ce->clone)            free(ce->clone);        ce->clone = NULL;                if (ce->data)            free(ce->data);        ce->data = NULL;                if ((junk = hash_delete(&bc.ht, ce->dev, ce->block_num)) != ce) {            panic("*** remove_cached_device: bad hash table entry %ld "                   "0x%lx != 0x%lx\n", ce->block_num, (ulong)junk, (ulong)ce);        }        free(ce);        bc.cur_blocks--;    }}