]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Fix up nfs_readdir_inode_mapping_valid()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 28 Sep 2021 16:37:05 +0000 (12:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:07 +0000 (20:49 -0400)
commitcd95b620d8fbef4ea5822da95296b586a5c43fc1
tree3b0bdce8d33627ed50a98f0cbe59055141344192
parent68ca1070ad66ce8408196889becf443037523bd9
NFS: Fix up nfs_readdir_inode_mapping_valid()

The check for duplicate readdir cookies should only care if the change
attribute is invalid or the data cache is invalid.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Tested-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
fs/nfs/dir.c