Date: Mon, 2 Aug 2004 00:37:40 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/geom/nop g_nop.c Message-ID: <200408020037.i720be5Q094439@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408020037.i720be5Q094439>