Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Nov 2009 00:15:23 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r199461 - user/kmacy/releng_8_fcs_buf/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <200911180015.nAI0FN8c048119@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed Nov 18 00:15:23 2009
New Revision: 199461
URL: http://svn.freebsd.org/changeset/base/199461

Log:
  mark saved buffer has not having an offset

Modified:
  user/kmacy/releng_8_fcs_buf/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c

Modified: user/kmacy/releng_8_fcs_buf/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
==============================================================================
--- user/kmacy/releng_8_fcs_buf/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Wed Nov 18 00:04:03 2009	(r199460)
+++ user/kmacy/releng_8_fcs_buf/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Wed Nov 18 00:15:23 2009	(r199461)
@@ -1317,6 +1317,7 @@ arc_bgetvp(arc_buf_t *buf)
 	newbp = buf->b_bp;
 	newbp->b_birth = hdr->b_birth;
 	newbp->b_blkno = newbp->b_lblkno = blkno;
+	newbp->b_offset = NOOFFSET;
 
 	BO_LOCK(bo);
 	bp = gbincore(bo, blkno);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911180015.nAI0FN8c048119>