]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdd565c0f1170460973f7c64d48bd391891c883d8
tree3290906c1d710bf2378d693fb2a38c159b8b2685
parentb9c15c9ab78f5a8061c08e3facf3e3e29612d757
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