Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2007 05:08:11 GMT
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 119264 for review
Message-ID:  <200705050508.l4558Bsa097856@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119264

Change 119264 by mjacob@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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705050508.l4558Bsa097856>