OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71bdcf8
)
[PATCH] SUNRPC: fix a typo
author
Chuck Lever
<chuck.lever@oracle.com>
Fri, 20 Oct 2006 06:28:44 +0000
(23:28 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:39 +0000
(10:26 -0700)
Yes, this actually passed tests the way it was.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sunrpc/xprtsock.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtsock.c
b/net/sunrpc/xprtsock.c
index
28100e0
..
757fc91
100644
(file)
--- a/
net/sunrpc/xprtsock.c
+++ b/
net/sunrpc/xprtsock.c
@@
-1366,7
+1366,7
@@
int xs_setup_udp(struct rpc_xprt *xprt, struct rpc_timeout *to)
if (xprt->slot == NULL)
return -ENOMEM;
- if (ntohs(addr->sin_port
!= 0)
)
+ if (ntohs(addr->sin_port
) != 0
)
xprt_set_bound(xprt);
xprt->port = xs_get_random_port();