From owner-cvs-src-old@FreeBSD.ORG Thu Sep 24 15:49:33 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 A4A271065799 for ; Thu, 24 Sep 2009 15:49:33 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 795EE8FC22 for ; Thu, 24 Sep 2009 15:49:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8OFnX3P042987 for ; Thu, 24 Sep 2009 15:49:33 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8OFnXHb042986 for cvs-src-old@freebsd.org; Thu, 24 Sep 2009 15:49:33 GMT (envelope-from pjd@repoman.freebsd.org) Message-Id: <200909241549.n8OFnXHb042986@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to pjd@repoman.freebsd.org using -f From: Pawel Jakub Dawidek Date: Thu, 24 Sep 2009 15:49:15 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c 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: Thu, 24 Sep 2009 15:49:33 -0000 pjd 2009-09-24 15:49:15 UTC FreeBSD src repository Modified files: sys/cddl/contrib/opensolaris/uts/common/fs/zfs zfs_znode.c Log: SVN rev 197458 on 2009-09-24 15:49:15Z by pjd Close race in zfs_zget(). We have to increase usecount first and then check for VI_DOOMED flag. Before this change vnode could be reclaimed between checking for the flag and increasing usecount. MFC after: 3 days Revision Changes Path 1.27 +19 -9 src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_znode.c