From owner-cvs-all@FreeBSD.ORG Mon Jan 7 16:51:25 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EED116A41A; Mon, 7 Jan 2008 16:51:25 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4FC0913C4EB; Mon, 7 Jan 2008 16:51:25 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m07GpPYB074912; Mon, 7 Jan 2008 16:51:25 GMT (envelope-from attilio@repoman.freebsd.org) Received: (from attilio@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m07GpPlb074911; Mon, 7 Jan 2008 16:51:25 GMT (envelope-from attilio) Message-Id: <200801071651.m07GpPlb074911@repoman.freebsd.org> From: Attilio Rao Date: Mon, 7 Jan 2008 16:51:25 +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/fs/hpfs hpfs_vfsops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2008 16:51:25 -0000 attilio 2008-01-07 16:51:25 UTC FreeBSD src repository Modified files: sys/fs/hpfs hpfs_vfsops.c Log: g_vfs_close() wants the sx topology lock held while executing, so just add correct locking to the operation of unmounting. This will prevent debugging kernels from panicking if mounting a non-hpfs partition (I'm not sure if this can be a problem with a successful mounting operation though). MFC: 3 days Revision Changes Path 1.62 +8 -0 src/sys/fs/hpfs/hpfs_vfsops.c