nfs41: only state manager sets NFS4CLNT_SESSION_SETUP
authorAndy Adamson <andros@netapp.com>
Fri, 4 Dec 2009 21:02:14 +0000 (16:02 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Dec 2009 21:02:14 +0000 (16:02 -0500)
commit0b9e2d41f1f0360be08809d4e3bb56b67be6241a
tree6628c9ef423cf09a76ec34b6f9db64c7ca704c38
parent691daf3b0c410c8bcab6735796be03ea446e1924
nfs41: only state manager sets NFS4CLNT_SESSION_SETUP

Replace sync and async handlers setting of the NFS4CLNT_SESSION_SETUP bit with
setting NFS4CLNT_CHECK_LEASE, and let the state manager decide to reset the session.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c