|
@@ -3766,6 +3766,7 @@ nfsd4_close(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
|
|
memcpy(&close->cl_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t));
|
|
memcpy(&close->cl_stateid, &stp->st_stid.sc_stateid, sizeof(stateid_t));
|
|
|
|
|
|
nfsd4_close_open_stateid(stp);
|
|
nfsd4_close_open_stateid(stp);
|
|
|
|
+ release_last_closed_stateid(oo);
|
|
oo->oo_last_closed_stid = stp;
|
|
oo->oo_last_closed_stid = stp;
|
|
|
|
|
|
if (list_empty(&oo->oo_owner.so_stateids)) {
|
|
if (list_empty(&oo->oo_owner.so_stateids)) {
|