kernel/vinum: Fix panic when vinum was loaded twice.
authorSascha Wildner <saw@online.de>
Fri, 1 May 2020 16:13:26 +0000 (18:13 +0200)
committerSascha Wildner <saw@online.de>
Fri, 1 May 2020 16:13:26 +0000 (18:13 +0200)
commite9adb5b2afc57d7675eb17cb79e2679485556f20
treeaaabc4b0bb16c609190e48667d39be329cf7f8e3
parent6d1478d998efb81077a0fbf83f96513af0a1865c
kernel/vinum: Fix panic when vinum was loaded twice.

Occurred when it was both compiled into the kernel and in loader.conf
at the same time.

Reported-by: CuteLarva (on IRC)
sys/dev/raid/vinum/vinum.c