Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Oct 2011 09:30:02 +0300
From:      Mikolaj Golub <trociny@freebsd.org>
To:        "Lev A. Serebryakov" <lev@FreeBSD.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r225993 - projects/geom-events/sys/geom/cache
Message-ID:  <86ty7o0x3p.fsf@in138.ua3>
In-Reply-To: <201110041700.p94H0QiD068016@svn.freebsd.org> (Lev A. Serebryakov's message of "Tue, 4 Oct 2011 17:00:26 %2B0000 (UTC)")
References:  <201110041700.p94H0QiD068016@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ty7o0x3p.fsf>