From owner-cvs-src@FreeBSD.ORG Fri Feb 9 02:54:14 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16DD916A400; Fri, 9 Feb 2007 02:54:14 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E3D1C13C4A6; Fri, 9 Feb 2007 02:54:13 +0000 (UTC) (envelope-from avatar@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 l192sDdO085117; Fri, 9 Feb 2007 02:54:13 GMT (envelope-from avatar@repoman.freebsd.org) Received: (from avatar@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l192sDJs085116; Fri, 9 Feb 2007 02:54:13 GMT (envelope-from avatar) Message-Id: <200702090254.l192sDJs085116@repoman.freebsd.org> From: Tai-hwa Liang Date: Fri, 9 Feb 2007 02:54:13 +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/netsmb smb_dev.c 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: Fri, 09 Feb 2007 02:54:14 -0000 avatar 2007-02-09 02:54:13 UTC FreeBSD src repository Modified files: sys/netsmb smb_dev.c Log: It turns out that devfs_close() does a dev_refthread() before invoking device specific d_close(), which makes subsequent destroy_dev() being blocked in the "devdrn" loop. This bandaid should fix the smbfs hang/crashing observed on -CURRENT since the introduction of sys/kern/kern_conf.c:1.199: # mount_smbfs -I server //server/share /mnt Password: [hang] Reviewed by: bp See also: http://lists.freebsd.org/pipermail/cvs-src/2006-November/071379.html Revision Changes Path 1.30 +1 -0 src/sys/netsmb/smb_dev.c