diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/svc_rdma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_rdma.h b/include/linux/sunrpc/svc_rdma.h index c14fe86dac59..d205e9f938c6 100644 --- a/include/linux/sunrpc/svc_rdma.h +++ b/include/linux/sunrpc/svc_rdma.h | |||
| @@ -292,7 +292,7 @@ svc_rdma_get_reply_array(struct rpcrdma_msg *rmsgp) | |||
| 292 | if (wr_ary) { | 292 | if (wr_ary) { |
| 293 | rp_ary = (struct rpcrdma_write_array *) | 293 | rp_ary = (struct rpcrdma_write_array *) |
| 294 | &wr_ary-> | 294 | &wr_ary-> |
| 295 | wc_array[wr_ary->wc_nchunks].wc_target.rs_length; | 295 | wc_array[ntohl(wr_ary->wc_nchunks)].wc_target.rs_length; |
| 296 | 296 | ||
| 297 | goto found_it; | 297 | goto found_it; |
| 298 | } | 298 | } |
