diff options
author | np <np@FreeBSD.org> | 2011-11-19 00:20:28 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2011-11-19 00:20:28 +0000 |
commit | 2fa14817953d37977cb57abebed6d295164b2d3f (patch) | |
tree | ca345b16f9acfe1fbf8b6144a019ed0a241abc5f /sys/nfsclient | |
parent | 2692984d95814a145e0813edd59f6393992ceb11 (diff) | |
download | FreeBSD-src-2fa14817953d37977cb57abebed6d295164b2d3f.zip FreeBSD-src-2fa14817953d37977cb57abebed6d295164b2d3f.tar.gz |
Do not increment the parent firmware's reference count when any other
firmware image in the module is registered. Instead, do it when the
other image is itself referenced.
This allows a module with multiple firmware images to be automatically
unloaded when none of the firmware images are in use.
Discussed with: jhb@ (on -hackers)
Diffstat (limited to 'sys/nfsclient')
0 files changed, 0 insertions, 0 deletions