aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>2009-12-11 22:10:48 -0500
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-01-14 12:24:46 -0500
commit8b8aae4009349397fffe7bd38a8fa200c9a5bcad (patch)
tree0cf7e11305196002aeadd250d7eb664dbece3b91 /fs
parent6a68f89ee1f2d177af4a5410fa7a45734c975fd6 (diff)
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')
-rw-r--r--fs/nfsd/nfs4state.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index f19ed866c95f..3a20c09353ed 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
2480 } 2480 }
2481 memcpy(&open->op_stateid, &stp->st_stateid, sizeof(stateid_t)); 2481 memcpy(&open->op_stateid, &stp->st_stateid, sizeof(stateid_t));
2482 2482
2483 if (nfsd4_has_session(&resp->cstate)) 2483 if (nfsd4_has_session(&resp->cstate)) {
2484 open->op_stateowner->so_confirmed = 1; 2484 open->op_stateowner->so_confirmed = 1;
2485 nfsd4_create_clid_dir(open->op_stateowner->so_client);
2486 }
2485 2487
2486 /* 2488 /*
2487 * Attempt to hand out a delegation. No error return, because the 2489 * Attempt to hand out a delegation. No error return, because the