summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4session.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2020-11-02 20:11:32 -0500
committerTrond Myklebust <trond.myklebust@hammerspace.com>2020-12-02 14:05:52 -0500
commit9fff59ed4c4d239125f8529a9971c46defd2e2b0 (patch)
tree92590d39069dcfba43b98bfdba764f244d309e22 /fs/nfs/nfs4session.c
parent82e22a5e6245873779db1607d3b0fec6f9ca07d0 (diff)
downloadlinux-9fff59ed4c4d239125f8529a9971c46defd2e2b0.tar.gz
linux-9fff59ed4c4d239125f8529a9971c46defd2e2b0.tar.bz2
linux-9fff59ed4c4d239125f8529a9971c46defd2e2b0.zip
NFS: Handle NFS4ERR_NOT_SAME and NFSERR_BADCOOKIE from readdir calls
If the server returns NFS4ERR_NOT_SAME or tells us that the cookie is bad in response to a READDIR call, then we should empty the page cache so that we can fill it from scratch again. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Reviewed-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Benjamin Coddington <bcodding@redhat.com> Tested-by: Dave Wysochanski <dwysocha@redhat.com>
Diffstat (limited to 'fs/nfs/nfs4session.c')
0 files changed, 0 insertions, 0 deletions