commit | 9942438089d5c0e3adecdcb7bc360b8fe0ce7e62 | [log] [tgz] |
---|---|---|
author | Bryan Schumaker <bjschuma@netapp.com> | Thu Oct 21 16:33:16 2010 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sat Oct 23 15:27:36 2010 -0400 |
tree | 6c6fa331811f6c8e5217193276602bd353613061 | |
parent | 3c8a1aeed8fd7f89bd0400fad72cbc1ac3460217 [diff] |
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>