nfs41: add create session into establish_clid
authorAndy Adamson <andros@netapp.com>
Fri, 4 Dec 2009 20:52:24 +0000 (15:52 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 4 Dec 2009 20:52:24 +0000 (15:52 -0500)
commit4d643d1dfa9349164fe928e255f68020d91dbfe0
tree1dde84268d81698e3f84cc3f20d90ddc234ba33f
parent7285f2d2ffd4b7ab4ffb70a47759ee209c30017b
nfs41: add create session into establish_clid

Reported-by: Trond Myklebust <trond.myklebust@netapp.com>

Resetting the clientid from the state manager could result in not confirming
the clientid due to create session not being called.

Move the create session call from the NFS4CLNT_SESSION_SETUP state manager
initialize session case into the NFS4CLNT_LEASE_EXPIRED case establish_clid
call.

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