xprtrdma: Do not truncate iova_start values in frmr registrations.
authorSteve Wise <swise@opengridcomputing.com>
Wed, 11 Aug 2010 16:47:08 +0000 (12:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 11 Aug 2010 16:47:08 +0000 (12:47 -0400)
commit7a8b80eb38b248cfdf84048dad12073d5cfba3e6
treed66e1ec8f4b95a1d17dad42af67dd1137a6ece77
parent5d7ca35a182a626f8ed5596023ad42eb219a332e
xprtrdma: Do not truncate iova_start values in frmr registrations.

A bad cast causes the iova_start, which in this case is a 64b DMA
bus address, to be truncated on 32b systems.  This breaks frmrs on
32b systems.  No cast is needed.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtrdma/verbs.c