]> 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)
commit7679d6c1edc7b2e4d70a67e7821c81d3f32f365c
tree8d16aab2eea3dbb90fecd2300c5dbb553b26e1be
parenta2f8627c76af5fd156f324fdc719ce2911ee96d1
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