diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2013-10-17 14:13:02 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-10-28 15:24:40 -0400 |
commit | c9fdeb280b8cc511c6730db9ab3973331ea344e0 (patch) | |
tree | a0099ad6e1dd1873a2c0108107a2ed84f09618e1 /fs/nfs/nfs4client.c | |
parent | ce6cda1845cf2332d2c411a5c72cd166256b21da (diff) | |
download | op-kernel-dev-c9fdeb280b8cc511c6730db9ab3973331ea344e0.zip op-kernel-dev-c9fdeb280b8cc511c6730db9ab3973331ea344e0.tar.gz |
NFS: Add basic migration support to state manager thread
Migration recovery and state recovery must be serialized, so handle
both in the state manager thread.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4client.c')
-rw-r--r-- | fs/nfs/nfs4client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index a2cba66..0cde95e 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -197,6 +197,7 @@ struct nfs_client *nfs4_alloc_client(const struct nfs_client_initdata *cl_init) clp->cl_state = 1 << NFS4CLNT_LEASE_EXPIRED; clp->cl_minorversion = cl_init->minorversion; clp->cl_mvops = nfs_v4_minor_ops[cl_init->minorversion]; + clp->cl_mig_gen = 1; return clp; error: |