NFSv4: Fix up the 'dircount' hint in encode_readdir
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 16:11:42 +0000 (12:11 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 24 Oct 2010 17:20:25 +0000 (13:20 -0400)
commit6f7a35bd23bdbbb40c07ee1120ef047190e77d9b
tree27b8aea3b8bf8bf813eedd59808f18da8b3e0a24
parent9af8c222ca5eae88f000664f693316480bf58fbc
NFSv4: Fix up the 'dircount' hint in encode_readdir

Also ensure we only ask for either fileid or mounted_on_fileid in the
readdirplus case too...

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