]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Don't skip directory entries when doing uncached readdir
authortrondmy@kernel.org <trondmy@kernel.org>
Wed, 19 Jan 2022 00:52:16 +0000 (19:52 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Feb 2022 15:47:23 +0000 (10:47 -0500)
commitf63c5a97ca0ecb1b9995aec12d1018c6b0484216
tree12504ffae6a74e609d1d04cd48e9260d4ed31f96
parentbc32a33ea3c3eae97c530b4f9a37c73ad43c58cd
NFS: Don't skip directory entries when doing uncached readdir

Ensure that we initialise desc->cache_entry_index correctly in
uncached_readdir().

Fixes: 744703856356 ("NFS: add readdir cache array")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c