Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106133748
D11531.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
413 B
Referenced Files
None
Subscribers
None
D11531.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11531: geom_gate: enable resize
Attached
Detach File
Event Timeline
Log In to Comment