Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87039
b: refs/heads/master
c: ee1a2c5
h: refs/heads/master
i:
  87037: 415107e
  87035: 1cc8729
  87031: 822696e
  87023: c47fe67
  87007: 4c7fbf2
  86975: de66cf1
  86911: 219931f
  86783: d60ca20
  86527: 88ffd7f
  86015: ba75859
v: v3
  • Loading branch information
Tom Talpey authored and Trond Myklebust committed Mar 7, 2008
1 parent 3c5a929 commit 0da71f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: af1b8c2ff7c337c4e96db12d6b7b61eaa91aa069
refs/heads/master: ee1a2c564f67407947e89f1dac75ac0af0ba88c7
6 changes: 5 additions & 1 deletion trunk/net/sunrpc/xprtrdma/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,11 @@ xprt_rdma_free(void *buffer)
return;

req = container_of(buffer, struct rpcrdma_req, rl_xdr_buf[0]);
r_xprt = container_of(req->rl_buffer, struct rpcrdma_xprt, rx_buf);
if (req->rl_iov.length == 0) { /* see allocate above */
r_xprt = container_of(((struct rpcrdma_req *) req->rl_buffer)->rl_buffer,
struct rpcrdma_xprt, rx_buf);
} else
r_xprt = container_of(req->rl_buffer, struct rpcrdma_xprt, rx_buf);
rep = req->rl_reply;

dprintk("RPC: %s: called on 0x%p%s\n",
Expand Down

0 comments on commit 0da71f2

Please sign in to comment.