nvmet-rdma: add an error flow for post_recv failures
authorMax Gurtovoy <maxg@mellanox.com>
Sun, 1 Jul 2018 09:20:24 +0000 (12:20 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 23 Jul 2018 07:35:17 +0000 (09:35 +0200)
commit202093848cac2da7d92ae666b51b7109bbab633c
treece0b0e5d39a9a3cec9e28c2770bf62d7cbc08853
parent2fc464e2162c2b2f7faf7404fa9c35d1cf70aa00
nvmet-rdma: add an error flow for post_recv failures

Posting receive buffer operation can fail, thus we should make
sure to have an error flow during initialization phase. While
we're here, add a debug print in case of a failure.

Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/rdma.c