svcrdma: fix error handling of rdma_alloc_frmr()
authorWei Yongjun <yjwei@cn.fujitsu.com>
Thu, 25 Jun 2009 08:35:44 +0000 (16:35 +0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Fri, 3 Jul 2009 14:14:59 +0000 (10:14 -0400)
commit846d8e7cc82a6205d5c0a905a4940abd0f565741
tree0d89d831c0e7a7979b404e7aaa9a0f76a2feb5d9
parent28d0325ce6e0a52f53d8af687e6427fee59004d3
svcrdma: fix error handling of rdma_alloc_frmr()

ib_alloc_fast_reg_mr() and ib_alloc_fast_reg_page_list() returns
ERR_PTR() and not NULL. Compile tested only.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/xprtrdma/svc_rdma_transport.c