Date: Wed, 12 Jan 2011 23:46:12 +0000 (UTC) From: Zack Kirsch <zack@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r217336 - head/sys/fs/nfsserver Message-ID: <201101122346.p0CNkCgW026800@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: zack Date: Wed Jan 12 23:46:12 2011 New Revision: 217336 URL: http://svn.freebsd.org/changeset/base/217336 Log: 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) Modified: head/sys/fs/nfsserver/nfs_nfsdstate.c Modified: head/sys/fs/nfsserver/nfs_nfsdstate.c ============================================================================== --- head/sys/fs/nfsserver/nfs_nfsdstate.c Wed Jan 12 23:34:09 2011 (r217335) +++ head/sys/fs/nfsserver/nfs_nfsdstate.c Wed Jan 12 23:46:12 2011 (r217336) @@ -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] =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101122346.p0CNkCgW026800>