]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit376de1556a992ec43125a493aab458f566b7a329
tree8d16aab2eea3dbb90fecd2300c5dbb553b26e1be
parent1c2e8e8a3969074cabb535e9da5b55201a01a636
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