svcrdma: Fix return value in svc_rdma_send
authorTom Tucker <tom@opengridcomputing.com>
Fri, 25 Apr 2008 20:51:27 +0000 (15:51 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:45 +0000 (07:33 -0500)
commit9d6347acd2134373c3a4c65a4d43e4f1d59aa012
tree20e7153e5a238f057a43797329644dd122c43877
parentdbcd00eba99945acfc433508a58eadc5dcd18cad
svcrdma: Fix return value in svc_rdma_send

Fix the return value on close to -ENOTCONN so caller knows to free context.
Also if a thread is waiting for free SQ space, check for close when waking
to avoid posting WR to a closing transport.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c