Save the sack when doing a lockmgr_disown() call.

Requested by:	kib
MFC:		3 days
This commit is contained in:
Attilio Rao 2009-11-06 22:33:03 +00:00
parent 9c76640868
commit 337c5ff4fc

View File

@ -1086,6 +1086,7 @@ _lockmgr_disown(struct lock *lk, const char *file, int line)
LOCK_LOG_LOCK("XDISOWN", &lk->lock_object, 0, 0, file, line);
WITNESS_UNLOCK(&lk->lock_object, LOP_EXCLUSIVE, file, line);
TD_LOCKS_DEC(curthread);
STACK_SAVE(lk);
/*
* In order to preserve waiters flags, just spin.