diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-10 14:48:02 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2011-01-10 14:48:02 -0500 |
commit | 68c404b18f6fba404b2753622d0459c68ee128ae (patch) | |
tree | c1ec0bb12f19d91071b461cc2831d9d3dd4c74f3 /fs/nfs/nfs3xdr.c | |
parent | d035c36c58dd9183ad6aa7875dea89893faedb55 (diff) | |
parent | 6650239a4b01077e80d5a4468562756d77afaa59 (diff) |
Merge branch 'bugfixes' into nfs-for-2.6.38
Conflicts:
fs/nfs/nfs2xdr.c
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c
Diffstat (limited to 'fs/nfs/nfs3xdr.c')
-rw-r--r-- | fs/nfs/nfs3xdr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/nfs3xdr.c b/fs/nfs/nfs3xdr.c index df30a26cc4fa..01c5e8b1941d 100644 --- a/fs/nfs/nfs3xdr.c +++ b/fs/nfs/nfs3xdr.c | |||
@@ -1989,11 +1989,6 @@ int nfs3_decode_dirent(struct xdr_stream *xdr, struct nfs_entry *entry, | |||
1989 | zero_nfs_fh3(entry->fh); | 1989 | zero_nfs_fh3(entry->fh); |
1990 | } | 1990 | } |
1991 | 1991 | ||
1992 | /* Peek at the next entry to see if we're at EOD */ | ||
1993 | p = xdr_inline_peek(xdr, 4 + 4); | ||
1994 | entry->eof = 0; | ||
1995 | if (p != NULL) | ||
1996 | entry->eof = (p[0] == xdr_zero) && (p[1] != xdr_zero); | ||
1997 | return 0; | 1992 | return 0; |
1998 | 1993 | ||
1999 | out_overflow: | 1994 | out_overflow: |