aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/direct.c
diff options
context:
space:
mode:
authorJames Lentini <jlentini@netapp.com>2007-12-10 11:24:48 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2007-12-11 22:01:59 -0500
commit50e1092b3a119bb4660bb6bd2e1749dc2d8ac62e (patch)
tree68278271b9dc445ad9d2f2b0475930968c8568fc /fs/nfs/direct.c
parent5cef338b30c110daf547fb13d99f0c77f2a79fbc (diff)
downloadkernel_samsung_tuna-50e1092b3a119bb4660bb6bd2e1749dc2d8ac62e.zip
kernel_samsung_tuna-50e1092b3a119bb4660bb6bd2e1749dc2d8ac62e.tar.gz
kernel_samsung_tuna-50e1092b3a119bb4660bb6bd2e1749dc2d8ac62e.tar.bz2
SUNRPC xprtrdma: fix XDR tail buf marshalling for all ops
rpcrdma_convert_iovs is passed an xdr_buf representing either an RPC request or an RPC reply. In the case of a request, several calculations and tests involving pos are unnecessary. In the case of a reply, several calculations and tests involving pos are incorrect (the code tests pos against the reply xdr buf's len field, which is always 0 at the time rpcrdma_convert_iovs is executed). This change removes the incorrect/unnecessary calculations and tests involving pos. This fixes an observed problem when reading certain file sizes over NFS/RDMA. Signed-off-by: Tom Tucker <tom@opengridcomputing.com> Signed-off-by: Tom Talpey <talpey@netapp.com> Signed-off-by: James Lentini <jlentini@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions