diff options
author | NeilBrown <neilb@suse.de> | 2006-10-02 11:17:50 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 16:57:18 +0200 |
commit | 6fb2b47fa16c81317ec282248e6cff521cca31c2 (patch) | |
tree | 226d823e900aba03fb7ee55cab3a9137fd5d9077 /net/sunrpc/svcsock.c | |
parent | [PATCH] nfsd: add lock annotations to e_start and e_stop (diff) | |
download | linux-6fb2b47fa16c81317ec282248e6cff521cca31c2.tar.xz linux-6fb2b47fa16c81317ec282248e6cff521cca31c2.zip |
[PATCH] knfsd: Drop 'serv' option to svc_recv and svc_process
It isn't needed as it is available in rqstp->rq_server, and dropping it allows
some local vars to be dropped.
[akpm@osdl.org: build fix]
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/sunrpc/svcsock.c')
-rw-r--r-- | net/sunrpc/svcsock.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index c6be67a86ae7..bc9bd189a540 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -1166,9 +1166,10 @@ svc_sock_update_bufs(struct svc_serv *serv) * Receive the next request on any socket. */ int -svc_recv(struct svc_serv *serv, struct svc_rqst *rqstp, long timeout) +svc_recv(struct svc_rqst *rqstp, long timeout) { struct svc_sock *svsk =NULL; + struct svc_serv *serv = rqstp->rq_server; int len; int pages; struct xdr_buf *arg; |