projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'bugfixes' into nfs-for-2.6.38
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
nfs
/
nfs2xdr.c
diff --git
a/fs/nfs/nfs2xdr.c
b/fs/nfs/nfs2xdr.c
index
51f1cfa
..
792cb13
100644
(file)
--- a/
fs/nfs/nfs2xdr.c
+++ b/
fs/nfs/nfs2xdr.c
@@
-943,11
+943,6
@@
int nfs2_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry,
entry->d_type = DT_UNKNOWN;
- /* 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: