diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-06-16 03:12:50 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-06-16 03:12:50 +0000 |
commit | 65f0bd9a1085ce613c1231c460305977e35fd10e (patch) | |
tree | 86014787a1f2347c770ead556207b42cb31b73fe /sys/nfsclient/krpc_subr.c | |
parent | d82b0bb2469f5a79d160bb6601f8cd8eb3966fab (diff) | |
download | FreeBSD-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.c | 2 |
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. |