]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: xprt_connect() don't abort the task if the transport isn't bound
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:09:39 +0000 (14:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Mar 2009 18:09:39 +0000 (14:09 -0400)
commit01d37c428ae080563c0a3bb8bdfa88c65a6891d3
treebfc1c9a6336d4b7058c742d4a3178f8f588f5b66
parentfba91afbec2c004e2c8733ae9e0ca6998e962c64
SUNRPC: xprt_connect() don't abort the task if the transport isn't bound

If the transport isn't bound, then we should just return ENOTCONN, letting
call_connect_status() and/or call_status() deal with retrying. Currently,
we appear to abort all pending tasks with an EIO error.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c