freebsd-nq/sys/fs/devfs
John Baldwin 3634d5b241 Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and
LK_CANRECURSE after a lock is created.  Use them to implement macros that
otherwise manipulated the flags directly.  Assert that the associated
lockmgr lock is exclusively locked by the current thread when manipulating
these flags to ensure the flag updates are safe.  This last change required
some minor shuffling in a few filesystems to exclusively lock a brand new
vnode slightly earlier.

Reviewed by:	kib
MFC after:	3 days
2010-08-20 19:46:50 +00:00
..
devfs_devs.c Allow user created symbolic links to cover device files and directories 2010-08-12 15:29:07 +00:00
devfs_int.h Add MAKEDEV_NOWAIT flag to make_dev_credf(9), to create a device node 2010-05-06 19:22:50 +00:00
devfs_rule.c Add new make_dev_p(9) flag MAKEDEV_ETERNAL to inform devfs that created 2010-08-06 09:42:15 +00:00
devfs_vfsops.c Enable shared lookups and externed shared ops for devfs. 2010-08-06 09:46:53 +00:00
devfs_vnops.c Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
devfs.h Allow user created symbolic links to cover device files and directories 2010-08-12 15:29:07 +00:00