/* * Catch superblock reference count leaks * immediately */ BUG_ON(bp->pb_bn == 0); 
xfs_wait_buftarg(	xfs_buftarg_t	*btp){	xfs_buf_t	*bp, *n;	xfs_bufhash_t	*hash;	uint		i;	for (i = 0; i < (1 << btp->bt_hashshift); i++) {		hash = &btp->bt_hash[i];again:		spin_lock(&hash->bh_lock);		list_for_each_entry_safe(bp, n, &hash->bh_list, pb_hash_list) {			ASSERT(btp == bp->pb_target);			if (!(bp->pb_flags & PBF_FS_MANAGED)) {				spin_unlock(&hash->bh_lock);				delay(100);				goto again;			}		}		spin_unlock(&hash->bh_lock);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2f926587512869ebf6bc820bd5f030e127aae774/xfs_buf.c/clean/fs/xfs/linux-2.6/xfs_buf.c