Skip to content

Commit

Permalink
nfsd41: Create the recovery entry for the NFSv4.1 client
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Labiaga <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
  • Loading branch information
labiaga authored and J. Bruce Fields committed Jan 14, 2010
1 parent 6a68f89 commit 8b8aae4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/nfsd/nfs4state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8b8aae4

Please sign in to comment.