889eca7e19
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. |
||
---|---|---|
.. | ||
g_nop.c | ||
g_nop.h |