Author: trociny (ports committer) Date: Fri Jul 13 07:08:06 2018 New Revision: 336237 URL: https://svnweb.freebsd.org/changeset/base/336237
Log: geom_gate: enable resize Reviewed By: pjd Approved By: pjd Differential Revision: https://reviews.freebsd.org/D11531 Modified: head/sys/geom/gate/g_gate.c Modified: head/sys/geom/gate/g_gate.c ============================================================================== --- head/sys/geom/gate/g_gate.c Fri Jul 13 02:02:16 2018 (r336236) +++ head/sys/geom/gate/g_gate.c Fri Jul 13 07:08:06 2018 (r336237) @@ -616,8 +616,8 @@ g_gate_modify(struct g_gate_softc *sc, struct g_gate_c G_GATE_DEBUG(1, "Invalid media size."); return (EINVAL); } - /* TODO */ - return (EOPNOTSUPP); + g_resize_provider(pp, ggio->gctl_mediasize); + return (0); } if ((ggio->gctl_modify & GG_MODIFY_INFO) != 0) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"