Author: ae
Date: Thu Jun 16 19:42:03 2011
New Revision: 223158
URL: http://svn.freebsd.org/changeset/base/223158
Log:
Add "alignment" param to the request before calling gpart_autofill().
Modified:
head/sbin/geom/class/part/geom_part.c
Modified: head/sbin/geom/class/part/geom_part.c
==============================================================================
--- head/sbin/geom/class/part/geom_part.c Thu Jun 16 19:32:00 2011
(r223157)
+++ head/sbin/geom/class/part/geom_part.c Thu Jun 16 19:42:03 2011
(r223158)
@@ -927,6 +927,7 @@ gpart_restore(struct gctl_req *req, unsi
gctl_ro_param(r, "size", -1, argv[3]);
if (rl != 0 && label != NULL)
gctl_ro_param(r, "label", -1, argv[4]);
+ gctl_ro_param(r, "alignment", -1, GPART_AUTOFILL);
gctl_ro_param(r, "arg0", -1, s);
error = gpart_autofill(r);
if (error != 0)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"