[PATCH 2/2] rds kernel space part of change for rds-stress -D option failure

David Dai
2016-03-01T01:47:26Z

---
net/rds/rdma.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/net/rds/rdma.c b/net/rds/rdma.c
index b08ca60..d603645 100755
--- a/net/rds/rdma.c
+++ b/net/rds/rdma.c
@@ -657,6 +657,7 @@ int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm,
ret = rds_pin_pages(iov->addr, nr, pages, !op->op_write);
if (ret < 0)
goto out;
+ ret = 0;

rdsdebug("RDS: nr_bytes %u nr %u iov->bytes %llu iov->addr %llx\n",
nr_bytes, nr, iov->bytes, iov->addr);
--
1.7.1