Merge branch 'bugfixes' into nfs-for-2.6.38
[platform/adaptation/renesas_rcar/renesas_kernel.git] / fs / nfs / nfs3xdr.c
index df30a26..01c5e8b 100644 (file)
@@ -1989,11 +1989,6 @@ int nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry,
                        zero_nfs_fh3(entry->fh);
        }
 
-       /* Peek at the next entry to see if we're at EOD */
-       p = xdr_inline_peek(xdr, 4 + 4);
-       entry->eof = 0;
-       if (p != NULL)
-               entry->eof = (p[0] == xdr_zero) && (p[1] != xdr_zero);
        return 0;
 
 out_overflow: