GEOM NOP does not touch the data, so pass G_PF_ACCEPT_UNMAPPED flag through.

This commit is contained in:
mav 2013-03-26 05:58:49 +00:00
parent 7997002b4f
commit 9856e08103

View File

@ -242,6 +242,7 @@ g_nop_create(struct gctl_req *req, struct g_class *mp, struct g_provider *pp,
goto fail;
}
newpp->flags |= pp->flags & G_PF_ACCEPT_UNMAPPED;
g_error_provider(newpp, 0);
G_NOP_DEBUG(0, "Device %s created.", gp->name);
return (0);