From owner-svn-src-projects@FreeBSD.ORG Wed Oct 5 06:58:48 2011 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 959091065670; Wed, 5 Oct 2011 06:58:48 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id D21418FC0A; Wed, 5 Oct 2011 06:58:47 +0000 (UTC) Received: by eyg7 with SMTP id 7so1752640eyg.13 for ; Tue, 04 Oct 2011 23:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=8bpLdMGDWNCpxs+nGN3h7RGB8kYLiUz4YlJBY6M5Qek=; b=NI7Bpa4z2oRgXtHBbx6NU8pbcVuXrEB6vsGwfkB23UxqC/qZxEdcUYnzUcD0oPYu/+ 4os2PWcDoUN5NurtNV8D56Jq7SZPPXHfWJ0a+1pX07wcKbwlu1shGUcmJ0WsRk9B51DP OC39uJbRDico0zidDpxt8FF6GcisQokpyQRmw= Received: by 10.223.97.214 with SMTP id m22mr3090385fan.29.1317796207950; Tue, 04 Oct 2011 23:30:07 -0700 (PDT) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id v17sm937384fai.18.2011.10.04.23.30.03 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Oct 2011 23:30:04 -0700 (PDT) From: Mikolaj Golub To: "Lev A. Serebryakov" Organization: TOA Ukraine References: <201110041700.p94H0QiD068016@svn.freebsd.org> Sender: Mikolaj Golub Date: Wed, 05 Oct 2011 09:30:02 +0300 In-Reply-To: <201110041700.p94H0QiD068016@svn.freebsd.org> (Lev A. Serebryakov's message of "Tue, 4 Oct 2011 17:00:26 +0000 (UTC)") Message-ID: <86ty7o0x3p.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r225993 - projects/geom-events/sys/geom/cache X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Oct 2011 06:58:48 -0000 On Tue, 4 Oct 2011 17:00:26 +0000 (UTC) Lev A. Serebryakov wrote: LAS> Author: lev (ports committer) LAS> Date: Tue Oct 4 17:00:25 2011 LAS> New Revision: 225993 LAS> URL: http://svn.freebsd.org/changeset/base/225993 LAS> Log: LAS> Add g_notify_*() calls to geom_cache LAS> Modified: LAS> projects/geom-events/sys/geom/cache/g_cache.c LAS> Modified: projects/geom-events/sys/geom/cache/g_cache.c LAS> ============================================================================== LAS> --- projects/geom-events/sys/geom/cache/g_cache.c Tue Oct 4 16:59:51 2011 (r225992) LAS> +++ projects/geom-events/sys/geom/cache/g_cache.c Tue Oct 4 17:00:25 2011 (r225993) LAS> @@ -444,8 +444,8 @@ g_cache_access(struct g_provider *pp, in LAS> static void LAS> g_cache_orphan(struct g_consumer *cp) LAS> { LAS> - Note, the empty line (if the function has no local variables) is required by style(9). LAS> g_topology_assert(); LAS> + g_notify_destroyed(LIST_FIRST(&cp->geom->provider)); LAS> g_cache_destroy(cp->geom->softc, 1); LAS> } LAS> -- Mikolaj Golub