/* invalidate_bh_lrus() is called rarely - but not only at unmount. This doesn't race because it runs in each cpu either in irq or with preempt disabled.  */
static void invalidate_bh_lru(void *arg)
/* invalidate_bh_lrus() is called rarely - but not only at unmount. This doesn't race because it runs in each cpu either in irq or with preempt disabled.  */
static void invalidate_bh_lru(void *arg)
{
	struct bh_lru *b = &get_cpu_var(bh_lrus);
	int i;
	for (i = 0; i < BH_LRU_SIZE; i++) {
		brelse(b->bhs[i]);
		b->bhs[i] = NULL;
	}
	put_cpu_var(bh_lrus);
}