diff options
author | zack <zack@FreeBSD.org> | 2011-01-12 23:46:12 +0000 |
---|---|---|
committer | zack <zack@FreeBSD.org> | 2011-01-12 23:46:12 +0000 |
commit | ee9487795dbb92eba9e34f1eaaf2da89f6999840 (patch) | |
tree | b45930c887d52c68cd48a9fe8bc2846b6446d54a | |
parent | 5b6f95e9fa8b1f428b858a24e0e5577b1d549df4 (diff) | |
download | FreeBSD-src-ee9487795dbb92eba9e34f1eaaf2da89f6999840.zip FreeBSD-src-ee9487795dbb92eba9e34f1eaaf2da89f6999840.tar.gz |
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)
-rw-r--r-- | sys/fs/nfsserver/nfs_nfsdstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nfsserver/nfs_nfsdstate.c b/sys/fs/nfsserver/nfs_nfsdstate.c index 12347f7..1008e26 100644 --- a/sys/fs/nfsserver/nfs_nfsdstate.c +++ b/sys/fs/nfsserver/nfs_nfsdstate.c @@ -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] = |