projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66cede5
)
xprtrdma: Clean up physical_op_map()
author
Chuck Lever
<chuck.lever@oracle.com>
Fri, 4 Mar 2016 16:27:35 +0000
(11:27 -0500)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Mon, 14 Mar 2016 18:55:47 +0000
(14:55 -0400)
physical_op_unmap{_sync} don't use mr_nsegs, so don't bother to set
it in physical_op_map.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/physical_ops.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/physical_ops.c
b/net/sunrpc/xprtrdma/physical_ops.c
index
dbb302e
..
481b9b6
100644
(file)
--- a/
net/sunrpc/xprtrdma/physical_ops.c
+++ b/
net/sunrpc/xprtrdma/physical_ops.c
@@
-68,7
+68,6
@@
physical_op_map(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr_seg *seg,
rpcrdma_map_one(ia->ri_device, seg, rpcrdma_data_dir(writing));
seg->mr_rkey = ia->ri_dma_mr->rkey;
seg->mr_base = seg->mr_dma;
- seg->mr_nsegs = 1;
return 1;
}