svn commit: r225993 - projects/geom-events/sys/geom/cache

Mikolaj Golub trociny at freebsd.org
Wed Oct 5 06:58:48 UTC 2011


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


More information about the svn-src-projects mailing list