]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC of 198262
authormjacob <mjacob@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Jun 2010 16:32:12 +0000 (16:32 +0000)
committermjacob <mjacob@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 7 Jun 2010 16:32:12 +0000 (16:32 +0000)
commit489cecdb521f579037891822084825677b0e4b6c
treed4b6b7cef49ce09cf911134ffe4d8779c157aef5
parent2ccc69ff93db1103836d43fcf53c8c204f20a959
MFC of 198262

Use callout_init_mtx on FreeBSD versions recent enough. This closes
the race where interrupt thread can complete the request for which
timeout has fired and while mpt_timeout has blocked on mpt_lock.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@208894 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mpt/mpt.c
sys/dev/mpt/mpt.h
sys/dev/mpt/mpt_cam.c
sys/dev/mpt/mpt_raid.c