PERFORCE change 119264 for review
Matt Jacob
mjacob at FreeBSD.org
Sat May 5 05:08:12 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=119264
Change 119264 by mjacob at mjexp on 2007/05/05 05:07:23
Fix LOR for sysctl.
Affected files ...
.. //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#20 edit
Differences ...
==== //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#20 (text+ko) ====
@@ -456,6 +456,7 @@
mpt->mpt_fcport_page0.WWPN.Low,
mpt->mpt_fcport_speed);
#if __FreeBSD_version >= 500000
+ MPT_UNLOCK(mpt);
{
struct sysctl_ctx_list *ctx = device_get_sysctl_ctx(mpt->dev);
struct sysctl_oid *tree = device_get_sysctl_tree(mpt->dev);
@@ -479,6 +480,7 @@
"World Wide Port Name");
}
+ MPT_LOCK(mpt);
#endif
return (0);
}
More information about the p4-projects
mailing list