/* get the lowest address of the multi-segment block.  */
static unsigned long dcssblk_find_lowest_addr(struct dcssblk_dev_info *dev_info)
/* get the lowest address of the multi-segment block.  */
static unsigned long dcssblk_find_lowest_addr(struct dcssblk_dev_info *dev_info)
{
	int set_first;
	unsigned long lowest_addr;
	struct segment_info *entry;
	set_first = 0;
	lowest_addr = 0;
	list_for_each_entry(entry, &dev_info->seg_list, lh) {
		if (set_first == 0) {
			lowest_addr = entry->start;
			set_first = 1;
		} else {
			if (lowest_addr > entry->start)
				lowest_addr = entry->start;
		}
	}
	return lowest_addr;
}