Konstantin Belousov 91a35e7870 Do not dereference cdev->si_cdevsw, use the dev_refthread() to properly
obtain the reference. In particular, this fixes the panic reported in
the PR. Remove the comments stating that this needs to be done.

PR:	kern/119422
MFC after:	1 week
2008-03-20 16:08:42 +00:00
..
2005-12-30 11:45:07 +00:00
2005-12-30 11:45:07 +00:00
2007-10-16 11:32:57 +00:00
2007-12-27 17:08:11 +00:00