PERFORCE change 98349 for review

John Baldwin jhb at FreeBSD.org
Fri Jun 2 16:27:38 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=98349

Change 98349 by jhb at 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)
 {


More information about the p4-projects mailing list