Tai-hwa Liang c6b54e61cc It turns out that devfs_close() does a dev_refthread() before invoking
device specific d_close(), which makes subsequent destroy_dev() being
blocked in the "devdrn" loop.

This bandaid should fix the smbfs hang/crashing observed on -CURRENT since
the introduction of sys/kern/kern_conf.c:1.199:

 	# mount_smbfs -I server //server/share /mnt
 	Password:
 	[hang]

Reviewed by:	bp
See also:	http://lists.freebsd.org/pipermail/cvs-src/2006-November/071379.html
2007-02-09 02:54:13 +00:00
..
2006-12-29 16:38:22 +00:00
2007-02-09 01:42:43 +00:00
2007-02-02 09:45:23 +00:00
2007-02-05 11:05:41 +00:00
2006-12-14 17:33:46 +00:00
2006-11-28 19:33:28 +00:00
2006-11-26 18:27:16 +00:00