K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-11-19T12:03:22.000000Z K 7 svn:log V 729 Merge nfs_serv.c:1.151 from HEAD to RELENG_5: date: 2004/11/11 21:30:52; author: rwatson; state: Exp; lines: +52 -38 Correct a bug in nfsrv_create() where a call to nfsrv_access() might be made holding the NFS server mutex. To clean this up, introduce a version of the function, nfsrv_access_withgiant(), that expects the NFS server mutex to already have been dropped and Giant acquired. Wrap nfsrv_access() around this. This permits callers to more efficiently check access if they're in a code block performing VFS operations, and can be substitited for the nfsrv_access() call that triggered this bug. PR: 73807, 73208 MFC after: 1 week RELENG_5_3 candidate. MFC after: 10 days END