OSDN Git Service

NFSv4: Don't retry the GETATTR on old stateid in nfs4_delegreturn_done()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 27 Oct 2019 02:37:40 +0000 (22:37 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:46 +0000 (21:28 -0500)
commit70d136b2dc184f1c9d026de443dbe635ea8a0839
tree3290906c1d710bf2378d693fb2a38c159b8b2685
parent246afc0aa5a7c66b081fbcab4d70ec379df3cb62
NFSv4: Don't retry the GETATTR on old stateid in nfs4_delegreturn_done()

If the server returns NFS4ERR_OLD_STATEID, then just skip retrying the
GETATTR when replaying the delegreturn compound. We know nothing will
have changed on the server.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c