summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/krpc_subr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-16 03:12:50 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-16 03:12:50 +0000
commit65f0bd9a1085ce613c1231c460305977e35fd10e (patch)
tree86014787a1f2347c770ead556207b42cb31b73fe /sys/nfsclient/krpc_subr.c
parentd82b0bb2469f5a79d160bb6601f8cd8eb3966fab (diff)
downloadFreeBSD-src-65f0bd9a1085ce613c1231c460305977e35fd10e.zip
FreeBSD-src-65f0bd9a1085ce613c1231c460305977e35fd10e.tar.gz
Convert GIANT_REQUIRED to NET_ASSERT_GIANT where Giant is used to
protect socket operations. Leave one "as-is" as it also frobs rootvp.
Diffstat (limited to 'sys/nfsclient/krpc_subr.c')
-rw-r--r--sys/nfsclient/krpc_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/krpc_subr.c b/sys/nfsclient/krpc_subr.c
index 672b84e..0bcf694 100644
--- a/sys/nfsclient/krpc_subr.c
+++ b/sys/nfsclient/krpc_subr.c
@@ -215,7 +215,7 @@ krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func,
nam = mhead = NULL;
from = NULL;
- GIANT_REQUIRED; /* XXX until socket locking done */
+ NET_ASSERT_GIANT();
/*
* Create socket and set its recieve timeout.
OpenPOWER on IntegriCloud