diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2004-05-31 19:08:22 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2004-05-31 19:08:22 +0000 |
| commit | 69af1dccdc4af33964b8ae64befdfc9b66aac084 (patch) | |
| tree | 8f900fed4e281a6120338e98ed1d3098a6889f49 /sys/nfsserver | |
| parent | 9e6127fe3ba0604c06f0eaa510fd0a2d752369f3 (diff) | |
Notes
Diffstat (limited to 'sys/nfsserver')
| -rw-r--r-- | sys/nfsserver/nfs_serv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index bc6e4ff1d8872..e57840159e8ea 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -2349,7 +2349,11 @@ nfsrv_rename(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, error = ESTALE; goto out1; } + NFSD_UNLOCK(); + mtx_lock(&Giant); (void) vn_start_write(NULL, &mp, V_WAIT); + mtx_unlock(&Giant); + NFSD_LOCK(); nfsm_srvnamesiz(len); /* * Remember our original uid so that we can reset cr_uid before |
