aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-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