nfs41: Invoke RECLAIM_COMPLETE on all new client ids
commit7cab89b275fd5647e72b781ac41b58a214640334
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Tue, 8 Dec 2009 19:35:28 +0000 (8 14:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 8 Dec 2009 19:35:28 +0000 (8 14:35 -0500)
tree77532eff4cf81d2d90bd95258b631a161617870c
parent88069f77e1ac580a495762ce7a631c251c52cb90
nfs41: Invoke RECLAIM_COMPLETE on all new client ids

The NFSv4.1 spec indicates RECLAIM_COMPLETE is to be issued
whenever a client establishes a new client id, not only after
detecting the server has rebooted.

Set the NFS4CLNT_RECLAIM_REBOOT bit after every new client id has
been established.  This enables us to issue RECLAIM_COMPLETE
during the wrap up of the NFS4CLNT_RECLAIM_REBOOT state.

Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4state.c