Konstantin Belousov e7f9b74438 Resolve the devfs deadlock caused by LOR between devfs_mount->dm_lock and
vnode lock in devfs_allocv. Do this by temporary dropping dm_lock around
vnode locking.

For safe operation, add hold counters for both devfs_mount and devfs_dirent,
and DE_DOOMED flag for devfs_dirent. The facilities allow to continue after
dropping of the dm_lock, by making sure that referenced memory does not
disappear.

Reviewed by:	tegge
Tested by:	kris
Approved by:	kan (mentor)
PR:		kern/102335
2006-09-18 13:23:08 +00:00
..
2006-09-17 13:29:36 +00:00
2006-09-15 10:44:55 +00:00
2006-05-26 13:54:27 +00:00
2006-09-15 11:01:23 +00:00
2006-09-03 22:24:08 +00:00