In the experimental NFS server, when converting an open-owner to a lock-owner,

start at sequence id 1 instead of 0, to match up with both Solaris and Linux.

Reviewed by:    rmacklem
Approved by:    zml (mentor)
This commit is contained in:
Zack Kirsch 2011-01-12 23:46:12 +00:00
parent 52776c502b
commit 770b49a314

View File

@ -1921,7 +1921,7 @@ tryagain:
*/
new_stp->ls_seq = new_stp->ls_opentolockseq;
nfsrvd_refcache(new_stp->ls_op);
stateidp->seqid = new_stp->ls_stateid.seqid = 0;
stateidp->seqid = new_stp->ls_stateid.seqid = 1;
stateidp->other[0] = new_stp->ls_stateid.other[0] =
clp->lc_clientid.lval[0];
stateidp->other[1] = new_stp->ls_stateid.other[1] =