SUNRPC: Move the test for XPRT_CONNECTING into xprt_connect()
commit0b9e79431377df452348e78262dd5a3dc359eeef
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 16 Apr 2010 20:41:57 +0000 (16 16:41 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 14 May 2010 19:09:29 +0000 (14 15:09 -0400)
tree0a69324b177e2db40e88988b83e0782dd9d98990
parent19445b99b6d66af661c586c052de23110731a502
SUNRPC: Move the test for XPRT_CONNECTING into xprt_connect()

This fixes a bug with setting xprt->stat.connect_start.

Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c
net/sunrpc/xprtrdma/transport.c
net/sunrpc/xprtsock.c