NFSv4: Ask for a full XDR buffer of readdir goodness
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 18 Feb 2022 17:04:06 +0000 (12:04 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 2 Mar 2022 13:43:38 +0000 (08:43 -0500)
commitc49c68944f2d4c3827cd8ac7f70da277674d11ad
tree8d16aab2eea3dbb90fecd2300c5dbb553b26e1be
parentad1e109a4109ce0cbdfebfbe1958d0c333166d5c
NFSv4: Ask for a full XDR buffer of readdir goodness

Instead of pretending that we know the ratio of directory info vs
readdirplus attribute info, just set the 'dircount' field to the same
value as the 'maxcount' field.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs3xdr.c
fs/nfs/nfs4xdr.c