Module Name: src Committed By: pgoyette Date: Fri Apr 28 06:00:33 UTC 2017
Modified Files: src/distrib/sets/lists/comp [prg-localcount2]: mi src/share/man/man9 [prg-localcount2]: Makefile autoconf.9 src/sys/dev [prg-localcount2]: cgd.c fss.c md.c vnd.c src/sys/kern [prg-localcount2]: subr_autoconf.c src/sys/sys [prg-localcount2]: device.h Log Message: Introduce config_detach_release() which does all the work from the former config_detach(). Now, config_detach() simply acquires a reference to the device, which config_detach_release() can release! This is needed because some drivers call config_detach() with a reference, while other drivers have not been updated to use the localcount reference mechanism. So we provide a shim to make everyone equal. To generate a diff of this commit: cvs rdiff -u -r1.2125.2.1 -r1.2125.2.2 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.409.2.1 -r1.409.2.2 src/share/man/man9/Makefile cvs rdiff -u -r1.30 -r1.30.20.1 src/share/man/man9/autoconf.9 cvs rdiff -u -r1.114.4.3 -r1.114.4.4 src/sys/dev/cgd.c cvs rdiff -u -r1.97.4.1 -r1.97.4.2 src/sys/dev/fss.c cvs rdiff -u -r1.78.6.2 -r1.78.6.3 src/sys/dev/md.c cvs rdiff -u -r1.259.4.1 -r1.259.4.2 src/sys/dev/vnd.c cvs rdiff -u -r1.252.4.1 -r1.252.4.2 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.149.8.1 -r1.149.8.2 src/sys/sys/device.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.