Fix a refcount bug which would appear when you kldunloaded a busy module,
authorSimon Schubert <corecode@dragonflybsd.org>
Tue, 10 Jan 2006 00:33:12 +0000 (00:33 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Tue, 10 Jan 2006 00:33:12 +0000 (00:33 +0000)
commitb46eb239fabf4395dc30e479107f5c9cfef5c113
treed234ccfa0fc33f20c4a69c28c87c09618ea9a13f
parentfe935f8e87d082fbb617edbcc992bcffbfa8e047
Fix a refcount bug which would appear when you kldunloaded a busy module,
preventing it to be unloaded later when it wasn't busy anymore, stating
"linkerunload: attempt to unload file that was loaded by the kernel".
sys/kern/kern_linker.c