diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-09-20 20:33:43 +0200 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2016-09-22 23:17:47 +0200 |
commit | a6cebd41b83a271d5b1dcaa5b4676df899f8d4ea (patch) | |
tree | 693b41266232cacbca36901ebeaee338dfb187a3 /fs/nfs/direct.c | |
parent | SUNRPC: Fix corruption of xdr->nwords in xdr_copy_to_scratch (diff) | |
download | linux-a6cebd41b83a271d5b1dcaa5b4676df899f8d4ea.tar.xz linux-a6cebd41b83a271d5b1dcaa5b4676df899f8d4ea.zip |
SUNRPC: Fix setting of buffer length in xdr_set_next_buffer()
Use xdr->nwords to tell us how much buffer remains.
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