freebsd-skq/sys/fs/nwfs
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
..
nwfs_io.c Eliminate unnecessary page queues locking. 2010-06-18 22:12:12 +00:00
nwfs_ioctl.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_mount.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_node.c Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
nwfs_node.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_subr.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_subr.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_vfsops.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs_vnops.c Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00
nwfs.h Switch to our preferred 2-clause BSD license. 2010-04-07 16:50:38 +00:00