svc: Change svc_sock_received to svc_xprt_received and export it
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:08:01 +0000 (21:08 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:12 +0000 (16:42 -0500)
commita6046f71f2b598af241e7496a8ead90f2979224b
treebceb453e9c7aac478a86253528ff2a00b0726fcc
parenta50fea26b9d2aa7b66fdd6d9579de10827ec086a
svc: Change svc_sock_received to svc_xprt_received and export it

All fields touched by svc_sock_received are now transport independent.
Change it to use svc_xprt directly. This function is called from
transport dependent code, so export it.

Update the comment to clearly state the rules for calling this function.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Acked-by: Neil Brown <neilb@suse.de>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Greg Banks <gnb@sgi.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svcsock.c