svn commit: r218715 - stable/8/sys/fs/nfsserver
Zack Kirsch
zack at FreeBSD.org
Tue Feb 15 20:53:01 UTC 2011
Author: zack
Date: Tue Feb 15 20:53:01 2011
New Revision: 218715
URL: http://svn.freebsd.org/changeset/base/218715
Log:
MFC: 217336
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.
Modified:
stable/8/sys/fs/nfsserver/nfs_nfsdstate.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
Modified: stable/8/sys/fs/nfsserver/nfs_nfsdstate.c
==============================================================================
--- stable/8/sys/fs/nfsserver/nfs_nfsdstate.c Tue Feb 15 20:46:51 2011 (r218714)
+++ stable/8/sys/fs/nfsserver/nfs_nfsdstate.c Tue Feb 15 20:53:01 2011 (r218715)
@@ -1922,7 +1922,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] =
More information about the svn-src-stable-8
mailing list