Date: Thu, 16 Jun 2011 19:42:03 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r223158 - head/sbin/geom/class/part Message-ID: <201106161942.p5GJg3wI043182@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106161942.p5GJg3wI043182>