Author :
mpi
Date :
2020-10-12 08:44:45
Hash :0d27d3d9 Message :Use KASSERT() instead of if(x) panic() for NULL dereference checks.
Improves readability and reduces the difference with NetBSD without
compromising debuggability on RAMDISK.
While here also use local variables to help with future locking and
reference counting.
ok semarie@