/* zfcp_sg_free_table - free memory used by scatterlists @sg: pointer to scatterlist @count: number of scatterlist which are to be free'ed the scatterlist are expected to reference pages always  */
void zfcp_sg_free_table(struct scatterlist *sg, int count)
/* zfcp_sg_free_table - free memory used by scatterlists @sg: pointer to scatterlist @count: number of scatterlist which are to be free'ed the scatterlist are expected to reference pages always  */
void zfcp_sg_free_table(struct scatterlist *sg, int count)
{
	int i;
	for (i = 0; i < count; i++, sg++)
		if (sg)
			free_page((unsigned long) sg_virt(sg));
		else
			break;
}