From owner-cvs-src-old@FreeBSD.ORG Sun Apr 12 17:44:37 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D695106564A for ; Sun, 12 Apr 2009 17:44:37 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0868FC20 for ; Sun, 12 Apr 2009 17:44:37 +0000 (UTC) (envelope-from kan@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n3CHibR6096064 for ; Sun, 12 Apr 2009 17:44:37 GMT (envelope-from kan@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n3CHibAs096063 for cvs-src-old@freebsd.org; Sun, 12 Apr 2009 17:44:37 GMT (envelope-from kan@repoman.freebsd.org) Message-Id: <200904121744.n3CHibAs096063@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kan@repoman.freebsd.org using -f From: Alexander Kabaev Date: Sun, 12 Apr 2009 17:43:41 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/kern vfs_mount.c vfs_subr.c src/sys/nfsclient nfs_vfsops.c src/sys/sys mount.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Apr 2009 17:44:37 -0000 kan 2009-04-12 17:43:41 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern vfs_mount.c vfs_subr.c sys/nfsclient nfs_vfsops.c sys/sys mount.h Log: SVN rev 190970 on 2009-04-12 17:43:41Z by kan Reimplement r189287 for -stable: Change vfs_busy to wait until an outcome of pending unmount operation is known and to retry or fail accordingly to that outcome. This fixes the problem with namespace traversing programs failing with random ENOENT errors if someone just happened to try to unmount that same filesystem at the same time. Prodded by: dhw, obrien Approved by: re(kib) Sponsored by: Juniper Networks, Inc. Revision Changes Path 1.265.2.14 +5 -0 src/sys/kern/vfs_mount.c 1.707.2.16 +2 -5 src/sys/kern/vfs_subr.c 1.193.2.5 +1 -1 src/sys/nfsclient/nfs_vfsops.c 1.228.2.6 +1 -0 src/sys/sys/mount.h