summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>2009-12-11 19:10:48 -0800
committerJ. Bruce Fields <bfields@citi.umich.edu>2010-01-14 12:24:46 -0500
commit8b8aae4009349397fffe7bd38a8fa200c9a5bcad (patch)
tree0cf7e11305196002aeadd250d7eb664dbece3b91 /fs/nfsd
parent6a68f89ee1f2d177af4a5410fa7a45734c975fd6 (diff)
downloadlinux-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.tar.gz
linux-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.tar.bz2
linux-8b8aae4009349397fffe7bd38a8fa200c9a5bcad.zip
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.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
}
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