PERFORCE change 111923 for review
Matt Jacob
mjacob at FreeBSD.org
Mon Dec 18 22:42:41 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=111923
Change 111923 by mjacob at mjexp on 2006/12/19 06:42:23
Don't attempt NULL g_access actions when adding a device.
Affected files ...
.. //depot/projects/mjexp/sys/geom/multipath/g_multipath.c#6 edit
Differences ...
==== //depot/projects/mjexp/sys/geom/multipath/g_multipath.c#6 (text+ko) ====
@@ -280,7 +280,7 @@
/*
* Set access permissions on new consumer to match other consumers
*/
- if (nxtcp) {
+ if (nxtcp && (nxtcp->acr + nxtcp->acw + nxtcp->ace)) {
error = g_access(cp, nxtcp->acr, nxtcp->acw, nxtcp->ace);
if (error) {
printf("GEOM_MULTIPATH: cannot set access in "
More information about the p4-projects
mailing list