mpt(4): Properly lock mpt_timeout().
authorSascha Wildner <saw@online.de>
Wed, 31 Aug 2011 16:24:44 +0000 (18:24 +0200)
committerSascha Wildner <saw@online.de>
Wed, 31 Aug 2011 16:24:44 +0000 (18:24 +0200)
commit2be58998960aaaebcfb7e65fea5bb3d4e9df904f
treec658a0369108bc62a46f24eb478ae88c1756dd7f
parent23dc68ce9b32d0cd219dc928df15e1beabd74be5
mpt(4): Properly lock mpt_timeout().

I had removed it with an assertion (like in FreeBSD) as part of the
last sync I did, but I had overlooked that FreeBSD initializes their
callout with callout_init_mtx().

For now, just put back locking like it was.

Reported-by: G.Isenmann
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2127>
sys/dev/disk/mpt/mpt_cam.c