freebsd-nq/sys/fs
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
..
cd9660 Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
coda Since DELAY() was moved, most <machine/clock.h> #includes have been 2006-05-16 14:37:58 +00:00
deadfs - Deadfs should not use the std GETWRITEMOUNT routine. Add one that always 2006-02-22 06:11:59 +00:00
devfs Resolve the devfs deadlock caused by LOR between devfs_mount->dm_lock and 2006-09-18 13:23:08 +00:00
fdescfs Restore the ability to mount procfs and fdescfs filesystems via the 2006-05-15 19:42:10 +00:00
fifofs Add a_fdidx to comment prototype for fifo_open(). 2006-03-15 10:15:35 +00:00
hpfs Commit the results of the typo hunt by Darren Pilgrim. 2006-08-04 07:56:35 +00:00
msdosfs while (0); -> while (0) in multi-line macros 2006-08-17 22:50:33 +00:00
ntfs Remove calls to vfs_export() for exporting a filesystem for NFS mounting 2006-05-26 00:32:21 +00:00
nullfs Remove incorrect null_checkexp() routine. This 2006-05-28 22:45:52 +00:00
nwfs Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
portalfs Update comment. 2006-07-18 22:29:54 +00:00
procfs Upon further review, DES prefers this change over that in revision 1.13 2006-06-05 16:41:27 +00:00
pseudofs Correctly calculate a buffer length. It was off by one so a read() returned 2006-06-27 20:21:38 +00:00
smbfs Introduce a field to struct vm_page for storing flags that are 2006-08-09 17:43:27 +00:00
udf Put the osta.c license on osta.h. The license is the same. 2006-09-12 19:02:34 +00:00
umapfs Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
unionfs Remove unneeded mac.h include. 2006-07-06 13:25:01 +00:00