Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/dev/filemon



Module Name:    src
Committed By:   pgoyette
Date:           Tue Jan  5 09:37:11 UTC 2016

Modified Files:
        src/sys/dev/filemon: filemon.c

Log Message:
Although not recommended, it is possible to include filemon(4) as a
built-in module.  If we do this, don't try to call devsw_attach() as
our device structures will already have been included via ioconf.[ch].

This avoids calling the init routine twice (once for CLASS_DRIVER and
then later for CLASS_ANY), which in turn avoids trying to initialize
an already initialized lock.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/dev/filemon/filemon.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index