aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/nfsserver/nfs_syscalls.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c
index 19ef606dc254..5a6e2e5fb865 100644
--- a/sys/nfsserver/nfs_syscalls.c
+++ b/sys/nfsserver/nfs_syscalls.c
@@ -498,9 +498,7 @@ nfssvc_nfsd(struct thread *td)
(void) nfs_slplock(slp, 1);
if (slp->ns_flag & SLP_VALID) {
NFSD_UNLOCK();
- NET_LOCK_GIANT();
error = nfsrv_send(slp->ns_so, nd->nd_nam2, m);
- NET_UNLOCK_GIANT();
NFSD_LOCK();
} else {
error = EPIPE;