cvs commit: src/sys/geom geom.h geom_disk.c geom_subr.c

Poul-Henning Kamp phk at FreeBSD.org
Sat May 31 11:13:08 PDT 2003


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


More information about the cvs-src mailing list