From owner-cvs-all@FreeBSD.ORG Sun Apr 3 12:03:44 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6F0016A4CE; Sun, 3 Apr 2005 12:03:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B29D143D39; Sun, 3 Apr 2005 12:03:44 +0000 (GMT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j33C3i1m025565; Sun, 3 Apr 2005 12:03:44 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j33C3ikE025564; Sun, 3 Apr 2005 12:03:44 GMT (envelope-from jeff) Message-Id: <200504031203.j33C3ikE025564@repoman.freebsd.org> From: Jeff Roberson Date: Sun, 3 Apr 2005 12:03:44 +0000 (UTC) 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-all@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 03 Apr 2005 12:03:45 -0000 jeff 2005-04-03 12:03:44 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_snapshot.c Log: - Use M_ZERO rather than explicitly calling bzero(). - Don't intermingle direct calls to lockmgr and indirect calls through VOPs. This will be important in the future. - Dont lock the devvp's interlock just to release it on the next line by passing LK_INTERLOCK to lockmgr. - Restructure ffs_snapshot_unmount so we don't call free() with the devvp's interlock locked. Revision Changes Path 1.103 +13 -13 src/sys/ufs/ffs/ffs_snapshot.c