NFS: Fix a couple of regressions in readdir.
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 16 Nov 2010 01:26:22 +0000 (20:26 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 16 Nov 2010 01:44:28 +0000 (20:44 -0500)
Fix up the issue that array->eof_index needs to be able to be set
even if array->size == 0.

Ensure that we catch all important memory allocation error conditions
and/or kmap() failures.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

No differences found