NFSv4: nfs4_decode_dirent must clear entry->fattr->valid
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 17:14:02 +0000 (13:14 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 17:14:02 +0000 (13:14 -0400)
commit4f082222fad3c8471abe0c8e8f18c72f335a34c7
treeb5c5eea011910f7b08991cb3779cc0eae9ae2598
parent3201f3dd7370f2d29dfb689ae16f8f5d4066cc33
NFSv4: nfs4_decode_dirent must clear entry->fattr->valid

Otherwise, we may end up reading uninitialised data from the resulting
struct nfs_fattr.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c