NFS: Don't use vm_map_ram() in readdir
[pandora-kernel.git] / fs / nfs / nfs4xdr.c
index 9f1826b..0662a98 100644 (file)
@@ -6215,12 +6215,6 @@ __be32 *nfs4_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry,
        if (verify_attr_len(xdr, p, len) < 0)
                goto out_overflow;
 
-       p = xdr_inline_peek(xdr, 8);
-       if (p != NULL)
-               entry->eof = !p[0] && p[1];
-       else
-               entry->eof = 0;
-
        return p;
 
 out_overflow: