]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix retry issues with nfs41_test/free_stateid
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:19 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:23 +0000 (14:35 -0400)
commit944eee8d26657093d60ceba173b005809c6a949f
tree5f781590d7684ed099e91d54edad4064d8d2fdff
parent134a676d123f123aa3c6ce3e746887fb0f7aa892
NFSv4: Fix retry issues with nfs41_test/free_stateid

_nfs41_free_stateid() needs to be cached by the session, but
nfs41_test_stateid() may return NFS4ERR_RETRY_UNCACHED_REP (in which
case we should just retry).

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