]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r240900:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Oct 2012 19:53:15 +0000 (19:53 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Oct 2012 19:53:15 +0000 (19:53 +0000)
commit249a6ada0f304b22f07f2304ae61ee2ff4ee91fc
treec50fecb0dc3fc59ccbb43a82a9a6f1468e2a7840
parent94f223b28f356f180960ba6bdee2741c4a252cb7
MFC r240900:

Specify MTX_RECURSE for the controller's io_lock.  Without it, tws(4)
immediately panics on boot with INVARIANTS enabled.  The driver already
clearly expects to be able to recurse on this mutex - the main I/O path
is always recursing on this lock.

git-svn-id: svn://svn.freebsd.org/base/stable/9@241379 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/tws/tws.c