summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2016-02-11 22:09:10 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-01 01:12:36 +0300
commitfc3af58d3f8b820e3acabb1e1c4f105eb3f283c1 (patch)
tree1ea09dfef8a4581b78a84e2ed264add9762c8147 /net/unix/af_unix.c
parentaaf45bd83eba804adfa5c4ff5b17ca0c88884c6f (diff)
downloadlinux-fc3af58d3f8b820e3acabb1e1c4f105eb3f283c1.tar.xz
IB/srpt: Fix srpt_write_pending()
The only allowed return values for the write_pending() callback function are 0, -EAGAIN and -ENOMEM. Since attempting to perform RDMA over a disconnecting channel will result in an IB error completion anyway, remove the code that checks the channel state from srpt_write_pending(). Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Alex Estrin <alex.estrin@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions