cvs commit: src/sys/geom/vinum geom_vinum.c geom_vinum_drive.c geom_vinum_var.h

Lukas Ertl le at FreeBSD.org
Mon Aug 15 17:07:48 GMT 2005


le          2005-08-15 17:07:47 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/vinum       geom_vinum.c geom_vinum_drive.c 
                         geom_vinum_var.h 
  Log:
  Fix a stupid logic bug introduced in geom_vinum_drive.c rev 1.18:
  
  When a drive is newly created, it's state is initially set to 'down',
  so it won't allow saving the config to it (thus it will never know of
  itself being created).  Work around this by adding a new flag, that's
  also checked when saving the config to a drive.
  
  Revision  Changes    Path
  1.17      +2 -0      src/sys/geom/vinum/geom_vinum.c
  1.19      +6 -1      src/sys/geom/vinum/geom_vinum_drive.c
  1.10      +1 -0      src/sys/geom/vinum/geom_vinum_var.h


More information about the cvs-src mailing list