geom_gate: enable resize
Reviewed By: pjd Approved By: pjd Differential Revision: https://reviews.freebsd.org/D11531
This commit is contained in:
parent
9131ba637f
commit
414774b793
@ -616,8 +616,8 @@ g_gate_modify(struct g_gate_softc *sc, struct g_gate_ctl_modify *ggio)
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user