cvs commit: src/sys/geom/nop g_nop.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Aug 1 17:37:40 PDT 2004


pjd         2004-08-02 00:37:40 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/nop         g_nop.c 
  Log:
  - Fix unloading by the same way it is done in my other classes:
    set gp->softc to NULL and return ENXIO when it is NULL, so GEOM
    will not panic or hang, but unload one device on every 'unload'.
    This make 'unload' command usable, but it have to be executed
    <number of devices> + 1 times.
  - Made use of 'pp' variable.
  
  Revision  Changes    Path
  1.8       +5 -3      src/sys/geom/nop/g_nop.c


More information about the cvs-src mailing list