Page MenuHomeFreeBSD

D11531.diff
No OneTemporary

D11531.diff

Index: head/sys/geom/gate/g_gate.c
===================================================================
--- head/sys/geom/gate/g_gate.c
+++ head/sys/geom/gate/g_gate.c
@@ -616,8 +616,8 @@
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)

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 11:13 PM (4 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15608821
Default Alt Text
D11531.diff (413 B)

Event Timeline