diff options
author | Ricardo Labiaga <Ricardo.Labiaga@netapp.com> | 2009-12-11 19:10:48 -0800 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-01-14 12:24:46 -0500 |
commit | 8b8aae4009349397fffe7bd38a8fa200c9a5bcad (patch) | |
tree | 0cf7e11305196002aeadd250d7eb664dbece3b91 /fs/nfsd | |
parent | 6a68f89ee1f2d177af4a5410fa7a45734c975fd6 (diff) | |
download | kernel_samsung_smdk4412-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.zip kernel_samsung_smdk4412-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.tar.gz kernel_samsung_smdk4412-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.tar.bz2 |
nfsd41: Create the recovery entry for the NFSv4.1 client
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index f19ed86..3a20c09 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2480,8 +2480,10 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf } memcpy(&open->op_stateid, &stp->st_stateid, sizeof(stateid_t)); - if (nfsd4_has_session(&resp->cstate)) + if (nfsd4_has_session(&resp->cstate)) { open->op_stateowner->so_confirmed = 1; + nfsd4_create_clid_dir(open->op_stateowner->so_client); + } /* * Attempt to hand out a delegation. No error return, because the |