]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Handle NFS4ERR_OLD_STATEID in CLOSE/OPEN_DOWNGRADE
authorTrond Myklebust <trondmy@gmail.com>
Fri, 20 Sep 2019 11:23:47 +0000 (07:23 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 20 Sep 2019 19:56:19 +0000 (15:56 -0400)
commit1e8b894727e8b7c5e0105ddb7691cdb281bd5f9e
treec7a80cee6cd81615072d2503363dc465e21f85fe
parent475e4e5afb5166d229c6ebdfae45e769e17819ba
NFSv4: Handle NFS4ERR_OLD_STATEID in CLOSE/OPEN_DOWNGRADE

If a CLOSE or OPEN_DOWNGRADE operation receives a NFS4ERR_OLD_STATEID
then bump the seqid before resending. Ensure we only bump the seqid
by 1.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4_fs.h
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c