diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-20 20:33:42 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-22 23:12:31 +0200 |
commit | ace0e14f4fe5f5944d27d8bd4d3492ad0d2b09e2 (patch) | |
tree | 092e8ffd8c0350a79d40be6b6318d20c8b61b87c /fs/nfs/direct.c | |
parent | NFS: nfs_prime_dcache must validate the filename (diff) | |
download | linux-ace0e14f4fe5f5944d27d8bd4d3492ad0d2b09e2.tar.xz linux-ace0e14f4fe5f5944d27d8bd4d3492ad0d2b09e2.zip |
SUNRPC: Fix corruption of xdr->nwords in xdr_copy_to_scratch
When we copy the first part of the data, we need to ensure that value
of xdr->nwords is updated as well. Do so by calling __xdr_inline_decode()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/direct.c')
0 files changed, 0 insertions, 0 deletions