Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2018 13:22:40 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r329016 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201802081322.w18DMeQt017479@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Thu Feb  8 13:22:40 2018
New Revision: 329016
URL: https://svnweb.freebsd.org/changeset/base/329016

Log:
  remove a duplicate assignment
  
  There should be no functional change.
  
  MFC after:	1 week

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Thu Feb  8 09:24:23 2018	(r329015)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c	Thu Feb  8 13:22:40 2018	(r329016)
@@ -4700,7 +4700,6 @@ zfs_putpages(struct vnode *vp, vm_page_t *ma, size_t l
 	}
 
 	if (zp->z_blksz < PAGE_SIZE) {
-		i = 0;
 		for (i = 0; len > 0; off += tocopy, len -= tocopy, i++) {
 			tocopy = len > PAGE_SIZE ? PAGE_SIZE : len;
 			va = zfs_map_page(ma[i], &sf);



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