From owner-cvs-src@FreeBSD.ORG Sat Jun 3 21:13:10 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E7C16A54B; Sat, 3 Jun 2006 21:13:10 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D115B43D49; Sat, 3 Jun 2006 21:13:09 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k53LBXIV093972; Sat, 3 Jun 2006 21:11:33 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k53LBXWX093971; Sat, 3 Jun 2006 21:11:33 GMT (envelope-from jhb) Message-Id: <200606032111.k53LBXWX093971@repoman.freebsd.org> From: John Baldwin Date: Sat, 3 Jun 2006 21:11:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_mutex.c src/sys/sys mutex.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jun 2006 21:13:25 -0000 jhb 2006-06-03 21:11:33 UTC FreeBSD src repository Modified files: sys/kern kern_mutex.c sys/sys mutex.h Log: Bah, fix fat finger in last. Invert the ~ on MTX_FLAGMASK as it's non-intuitive for the ~ to be built into the mask. All the users now explicitly ~ the mask. In addition, add MTX_UNOWNED to the mask even though it technically isn't a flag. This should unbreak mtx_owner(). Quickly spotted by: kris Revision Changes Path 1.173 +2 -2 src/sys/kern/kern_mutex.c 1.83 +2 -2 src/sys/sys/mutex.h