View | Details | Raw Unified | Return to bug 167567
Collapse All | Expand All

(-)head/sbin/geom/class/part/geom_part.c (+2 lines)
Lines 538-543 gpart_autofill(struct gctl_req *req) Link Here
538
		first = (off_t)strtoimax(s, NULL, 0) + 1;
538
		first = (off_t)strtoimax(s, NULL, 0) + 1;
539
		a_first = ALIGNUP(first + offset, alignment);
539
		a_first = ALIGNUP(first + offset, alignment);
540
	}
540
	}
541
	if (has_start && a_first < start)
542
		a_first = start;
541
	if (a_first <= last) {
543
	if (a_first <= last) {
542
		/* Free space [first-last] */
544
		/* Free space [first-last] */
543
		len = ALIGNDOWN(last - a_first + 1, alignment);
545
		len = ALIGNDOWN(last - a_first + 1, alignment);

Return to bug 167567