kernel - Fix lockmgr non-zero exclusive count panic (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Dec 2010 08:49:59 +0000 (00:49 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 29 Dec 2010 08:49:59 +0000 (00:49 -0800)
commitdbe02692d50d1bd9a389a9d09a2b505daf6952e2
treea4e65ac98e8ab11932a826632f3be44a4b1d29d2
parent7a4c56501df11e04efafe58591214c5806606c25
kernel - Fix lockmgr non-zero exclusive count panic (2)

* Handle another possible case when upgrading a shared lock to an
  exclusive lock where the exclusive flag can wiggle its way in.

Reported-by: Peter Avalos <peter@theshell.com>,
     YONETANI Tomokazu <qhwt.dfly@les.ath.cx>
sys/kern/kern_lock.c