commit | 458a9632ad7428e16e1feafb61aca33a11ac2f46 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Tue Jul 12 11:06:17 2016 +0000 |
committer | Jens Axboe <axboe@fb.com> | Tue Jul 12 08:27:03 2016 -0700 |
tree | 485fa0491663dbcf92bb76d354547b9ab509da40 | |
parent | bf294e833b3e670450cdc013242d45a4d2b8d395 [diff] |
nvme-rdma: fix the return value of nvme_rdma_reinit_request() PTR_ERR should be applied before its argument is reassigned, otherwise the return value will be set to 0, not error code. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>