svc: Move create logic to common code
authorTom Tucker <tom@opengridcomputing.com>
Mon, 31 Dec 2007 03:08:20 +0000 (21:08 -0600)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 1 Feb 2008 21:42:13 +0000 (16:42 -0500)
commit4e5caaa5f24b3df1fe01097e1e7576461e70d491
treec682473e9a40f4e8a8a1317906a516b41d47ec30
parent9f8bfae693c724120ffc8fb77564f6deb508daf3
svc: Move create logic to common code

Move the svc transport list logic into common transport creation code.
Refactor this code path to make the flow of control easier to read.

Move the setting and clearing of the BUSY_BIT during transport creation
to common code.

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>
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c