nfsd4: purge stable client records with insufficient state
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 19:43:36 +0000 (14:43 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 6 Mar 2012 23:13:24 +0000 (18:13 -0500)
commit393d8ed80f0e9b7edad737053a5fb375f0bf4849
tree91069f3a1fa60811638341b46a8d87b715899758
parent1255a8f36cb16a02540bdad91c0bc0971b9fb429
nfsd4: purge stable client records with insufficient state

To escape having your stable storage record purged at the end of the
grace period, it's not sufficient to simply have performed a
setclientid_confirm; you also need to meet the same requirements as
someone creating a new record: either you should have done an open or
open reclaim (in the 4.0 case) or a reclaim_complete (in the 4.1 case).

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c