]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
nvme-rdma: Check that reinit_request got a proper mr
authorSagi Grimberg <sagi@grimberg.me>
Wed, 11 Oct 2017 12:29:09 +0000 (15:29 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 18 Oct 2017 17:27:52 +0000 (19:27 +0200)
commit0fc176dfdafc78e66bd74f54e487ca1fc59d01bf
treee240db5cc55c47c3d2c7c48865a9a02a672cb41f
parent0c5b43b9c1fafc5af37915dde6670aaf1224e8cc
nvme-rdma: Check that reinit_request got a proper mr

Warn if req->mr is NULL as it should never happen.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c