From owner-cvs-all@FreeBSD.ORG Sun Aug 15 13:58:29 2004 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 8F4BE16A4CE; Sun, 15 Aug 2004 13:58:29 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7046F43D31; Sun, 15 Aug 2004 13:58:29 +0000 (GMT) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7FDwTOY093095; Sun, 15 Aug 2004 13:58:29 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7FDwTlb093094; Sun, 15 Aug 2004 13:58:29 GMT (envelope-from pjd) Message-Id: <200408151358.i7FDwTlb093094@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Sun, 15 Aug 2004 13:58:29 +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/geom/mirror g_mirror.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, 15 Aug 2004 13:58:29 -0000 pjd 2004-08-15 13:58:29 UTC FreeBSD src repository Modified files: sys/geom/mirror g_mirror.c Log: Avoid code duplication by introducing g_mirror_write_metadata() function, which is used now by g_mirror_clear_metadata() function and g_mirror_update_metadata() function. Revision Changes Path 1.19 +29 -55 src/sys/geom/mirror/g_mirror.c