Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2003 11:13:07 -0700 (PDT)
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/geom geom.h geom_disk.c geom_subr.c
Message-ID:  <200305311813.h4VID7U2012696@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
phk         2003/05/31 11:13:07 PDT

  FreeBSD src repository

  Modified files:
    sys/geom             geom.h geom_disk.c geom_subr.c 
  Log:
  Introduce a init and fini member functions on a class.
  
  Use ->init() and ->fini() to handle the mutex in geom_disk.c
  
  Remove the g_add_class() function and replace it with a standardized
  g_modevent() function.
  
  This adds the basic infrastructure for loading/unloading GEOM classes
  
  Revision  Changes    Path
  1.66      +12 -13    src/sys/geom/geom.h
  1.74      +14 -5     src/sys/geom/geom_disk.c
  1.53      +100 -22   src/sys/geom/geom_subr.c



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