/* This bdi is going away now, make sure that no super_blocks point to it  */
static void bdi_prune_sb(struct backing_dev_info *bdi)
/* This bdi is going away now, make sure that no super_blocks point to it  */
static void bdi_prune_sb(struct backing_dev_info *bdi)
{
	struct super_block *sb;
	spin_lock(&sb_lock);
	list_for_each_entry(sb, &super_blocks, s_list) {
		if (sb->s_bdi == bdi)
			sb->s_bdi = NULL;
	}
	spin_unlock(&sb_lock);
}