* [PATCH] svcrpc: remove the unnecessary evaluation [not found] <52786417.6090707@huawei.com> @ 2013-11-08 7:23 ` Weng Meiling 2013-11-13 15:56 ` J. Bruce Fields 0 siblings, 1 reply; 2+ messages in thread From: Weng Meiling @ 2013-11-08 7:23 UTC (permalink / raw) To: linux-nfs; +Cc: Trond.Myklebust, bfields, davem, netdev, linux-kernel, Li Zefan From: Weng Meiling <wengmeiling.weng@huawei.com> Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com> --- net/sunrpc/svc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index b974571..e7fbe36 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -1104,8 +1104,6 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) rqstp->rq_vers = vers = svc_getnl(argv); /* version number */ rqstp->rq_proc = proc = svc_getnl(argv); /* procedure number */ - progp = serv->sv_program; - for (progp = serv->sv_program; progp; progp = progp->pg_next) if (prog == progp->pg_prog) break; -- 1.8.3.1 ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] svcrpc: remove the unnecessary evaluation 2013-11-08 7:23 ` [PATCH] svcrpc: remove the unnecessary evaluation Weng Meiling @ 2013-11-13 15:56 ` J. Bruce Fields 0 siblings, 0 replies; 2+ messages in thread From: J. Bruce Fields @ 2013-11-13 15:56 UTC (permalink / raw) To: Weng Meiling Cc: linux-nfs, Trond.Myklebust, davem, netdev, linux-kernel, Li Zefan On Fri, Nov 08, 2013 at 03:23:12PM +0800, Weng Meiling wrote: > > From: Weng Meiling <wengmeiling.weng@huawei.com> Huh. Looks like that was introduced with "[PATCH] knfsd: make sure svc_process call the correct pg_authenticate for multi-service port" in 2005. OK! Applied. --b. > > Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com> > --- > net/sunrpc/svc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c > index b974571..e7fbe36 100644 > --- a/net/sunrpc/svc.c > +++ b/net/sunrpc/svc.c > @@ -1104,8 +1104,6 @@ svc_process_common(struct svc_rqst *rqstp, struct kvec *argv, struct kvec *resv) > rqstp->rq_vers = vers = svc_getnl(argv); /* version number */ > rqstp->rq_proc = proc = svc_getnl(argv); /* procedure number */ > > - progp = serv->sv_program; > - > for (progp = serv->sv_program; progp; progp = progp->pg_next) > if (prog == progp->pg_prog) > break; > -- > 1.8.3.1 > > > > ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-13 15:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <52786417.6090707@huawei.com>
2013-11-08 7:23 ` [PATCH] svcrpc: remove the unnecessary evaluation Weng Meiling
2013-11-13 15:56 ` J. Bruce Fields
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).