svn commit: r251924 - stable/9/sys/geom/nop
Alexander Motin
mav at FreeBSD.org
Tue Jun 18 09:37:45 UTC 2013
Author: mav
Date: Tue Jun 18 09:37:44 2013
New Revision: 251924
URL: http://svnweb.freebsd.org/changeset/base/251924
Log:
MFC r248721:
GEOM NOP does not touch the data, so pass G_PF_ACCEPT_UNMAPPED flag through.
Modified:
stable/9/sys/geom/nop/g_nop.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/geom/nop/g_nop.c
==============================================================================
--- stable/9/sys/geom/nop/g_nop.c Tue Jun 18 09:36:01 2013 (r251923)
+++ stable/9/sys/geom/nop/g_nop.c Tue Jun 18 09:37:44 2013 (r251924)
@@ -214,6 +214,7 @@ g_nop_create(struct gctl_req *req, struc
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);
More information about the svn-src-stable-9
mailing list