From owner-cvs-src@FreeBSD.ORG Sat Oct 4 07:25:47 2003 Return-Path: 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 8326F16A4B3; Sat, 4 Oct 2003 07:25:47 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02E6E43FCB; Sat, 4 Oct 2003 07:25:47 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h94EPkXJ099480; Sat, 4 Oct 2003 07:25:46 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h94EPki9099479; Sat, 4 Oct 2003 07:25:46 -0700 (PDT) (envelope-from jeff) Message-Id: <200310041425.h94EPki9099479@repoman.freebsd.org> From: Jeff Roberson Date: Sat, 4 Oct 2003 07:25:46 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/ufs/ffs ffs_snapshot.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 04 Oct 2003 14:25:47 -0000 jeff 2003/10/04 07:25:46 PDT FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: - Fix an unlocked call to GETATTR by slightly shuffling the code in ffs_snapshot() around. - Acquire the interlock before releasing the mntvnode_mtx. Use the interlock to protect v_usecount access. Revision Changes Path 1.71 +14 -6 src/sys/ufs/ffs/ffs_snapshot.c