]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Add a helper function to deal with expired stateids
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:38:57 +0000 (13:38 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:33:21 +0000 (14:33 -0400)
commit1b9ad8a40419a76d3b707c5106151f74387b5a30
tree981657af8c053edc4470ae54ab5864ab3deb14dc
parent639011fce5cd7374dadd199c189c3211e6cf5eb5
NFSv4.1: Add a helper function to deal with expired stateids

In NFSv4.1 and newer, if the server decides to revoke some or all of
the protocol state, the client is required to iterate through all the
stateids that it holds and call TEST_STATEID to determine which stateids
still correspond to valid state, and then call FREE_STATEID on the
others.

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