diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2020-05-18 10:47:48 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-05-27 07:12:37 +0200 |
commit | 0236d3437909ff888e5c79228e2d5a851651c4c6 (patch) | |
tree | 13398edb85d56faf14a7c3b8e56cfb1887daf800 /drivers/nvme/host/pci.c | |
parent | f381ab1f26aa33f14412cb9b7cb7f947b88a55b2 (diff) |
nvmet-tcp: move send/recv error handling in the send/recv methods instead of call-sites
Have routines handle errors and just bail out of the poll loop.
This simplifies the code and will help as we may enhance the poll
loop logic and these are somewhat in the way.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/pci.c')
0 files changed, 0 insertions, 0 deletions