freebsd-dev/sys/nfsclient
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
..
bootp_subr.c Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
krpc_subr.c Add missing include to make LINT-VIMAGE build as well. 2009-12-27 10:10:38 +00:00
krpc.h
nfs_bio.c In NFS clients, instead of inconsistently using #ifdef 2010-06-13 05:24:27 +00:00
nfs_diskless.c Merge the remainder of kern_vimage.c and vimage.h into vnet.c and 2009-08-01 19:26:27 +00:00
nfs_kdtrace.c Simplify code a bit. 2010-02-18 22:10:55 +00:00
nfs_kdtrace.h Fix two bugs in DTrace tracing of accesscache and attrcache load events: 2009-03-24 23:16:48 +00:00
nfs_krpc.c - Move nfs_realign() from the NFS client to the shared NFS code and 2010-02-09 23:45:14 +00:00
nfs_nfsiod.c Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfs_node.c Add dedicated routines to toggle lockmgr flags such as LK_NOSHARE and 2010-08-20 19:46:50 +00:00
nfs_subs.c Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() 2010-07-15 19:40:48 +00:00
nfs_vfsops.c Move sys/nfsclient/nfs_lock.c into sys/nfs and build it as a separate 2010-07-24 22:11:11 +00:00
nfs_vnops.c Add some mutex locking on the nfsnode to the regular NFS client. 2010-08-04 01:19:11 +00:00
nfs.h Fix a race that can occur when nfs nfsiod threads are being created. 2010-01-27 15:22:20 +00:00
nfsargs.h
nfsdiskless.h consolidate parsing of nfs root mount options in one place 2006-12-06 02:15:25 +00:00
nfsm_subs.h Remove the old kernel RPC implementation and the NFS_LEGACYRPC option. 2009-06-30 19:03:27 +00:00
nfsmount.h Add a timeout for the negative name cache entries in the NFS client. 2010-01-21 20:57:25 +00:00
nfsnode.h Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() 2010-07-15 19:40:48 +00:00
nfsstats.h
nlminfo.h