]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Ensure we call FREE_STATEID if needed on close/delegreturn/locku
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:05 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:34:27 +0000 (14:34 -0400)
commit29bc899fd1140516bbb18d4f65b29b5436eb2390
tree7997e2199b3d616b531d5386df507d3fe302450c
parent0f3397a36703131ceedee1b1c8d2f86610c65ef8
NFSv4.1: Ensure we call FREE_STATEID if needed on close/delegreturn/locku

If a server returns NFS4ERR_ADMIN_REVOKED, NFS4ERR_DELEG_REVOKED
or NFS4ERR_EXPIRED on a call to close, open_downgrade, delegreturn, or
locku, we should call FREE_STATEID before attempting to recover.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c