]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
nfsd41: Create the recovery entry for the NFSv4.1 client
authorRicardo Labiaga <Ricardo.Labiaga@netapp.com>
Sat, 12 Dec 2009 03:10:48 +0000 (19:10 -0800)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 14 Jan 2010 17:24:46 +0000 (12:24 -0500)
Signed-off-by: Ricardo Labiaga <Ricardo.Labiaga@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c

index f19ed866c95fd18ef5da370b9cd09387c6d71c8a..3a20c09353edd9c4017495d2195b63510dc7c42a 100644 (file)
@@ -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