]> err.no Git - linux-2.6/commit
svc: Change the svc_sock in the rqstp structure to a transport
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:07:19 +0000 (21:07 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:08 +0000 (16:42 -0500)
commit9f29868b491beee706931e0cf875a60cb4688754
treeae8dbe9829e7dceae8e7d9942a7d66e12135b5a4
parent360d873864c8903a650b227758b49dd50e6ecc9f
svc: Change the svc_sock in the rqstp structure to a transport

The rqstp structure contains a pointer to the transport for the
RPC request. This functionaly trivial patch adds an unamed union
with pointers to both svc_sock and svc_xprt. Ultimately the
union will be removed and only the rq_xprt field will remain. This
allows incrementally extracting transport independent interfaces without
one gigundo patch.

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.h