Date: Fri, 2 Jun 2006 16:26:01 GMT From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98349 for review Message-ID: <200606021626.k52GQ1JV001354@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98349 Change 98349 by jhb@jhb_mutex on 2006/06/02 16:25:56 Add a comment about a non-obvious flag "field". Affected files ... .. //depot/projects/smpng/sys/kern/subr_firmware.c#5 edit Differences ... ==== //depot/projects/smpng/sys/kern/subr_firmware.c#5 (text+ko) ==== @@ -96,6 +96,11 @@ return frp; } +/* + * Note that for a module loaded via kldload before it was asked for by + * a consumer, fp->file will be NULL, so we won't try to unload the + * module when the last reference is dropped. + */ static void clearentry(struct firmware *fp, int keep_file) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606021626.k52GQ1JV001354>