summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBryan Schumaker2010-10-21 22:33:16 +0200
committerTrond Myklebust2010-10-23 21:27:36 +0200
commit9942438089d5c0e3adecdcb7bc360b8fe0ce7e62 (patch)
tree6c6fa331811f6c8e5217193276602bd353613061 /include
parentNFS: nfs_readdir_filler catch all errors (diff)
downloadkernel-qcow2-linux-9942438089d5c0e3adecdcb7bc360b8fe0ce7e62.tar.gz
kernel-qcow2-linux-9942438089d5c0e3adecdcb7bc360b8fe0ce7e62.tar.xz
kernel-qcow2-linux-9942438089d5c0e3adecdcb7bc360b8fe0ce7e62.zip
NFS: check xdr_decode for errors
Check if the decoded entry has the eof bit set when returning from xdr_decode with an error. If it does, we should set the eof bits in the array before returning. This should keep us from looping when we expect more data but the server doesn't give us anything new. Signed-off-by: Bryan Schumaker <bjschuma@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions