freebsd-nq/sys/fs
Don Lewis fa288043e2 VOP_FSYNC() requires that it's vnode argument be locked, which nfs_link()
wasn't doing.  Rather than just lock and unlock the vnode around the call
to VOP_FSYNC(), implement rwatson's suggestion to lock the file vnode
in kern_link() before calling VOP_LINK(), since the other filesystems
also locked the file vnode right away in their link methods.  Remove the
locking and and unlocking from the leaf filesystem link methods.

Reviewed by:	rwatson, bde  (except for the unionfs_link() changes)
2002-09-19 13:32:45 +00:00
..
cd9660 Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
coda Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
deadfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
devfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
fdescfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
fifofs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
hpfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
msdosfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
ntfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
nullfs Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
nwfs Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
portalfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
procfs Completely redo thread states. 2002-09-11 08:13:56 +00:00
pseudofs Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
smbfs Remove any VOP_PRINT that redundantly prints the tag. 2002-09-18 20:42:04 +00:00
specfs Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
udf Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
umapfs Remove all use of vnode->v_tag, replacing with appropriate substitutes. 2002-09-14 09:02:28 +00:00
unionfs VOP_FSYNC() requires that it's vnode argument be locked, which nfs_link() 2002-09-19 13:32:45 +00:00