svn commit: r318824 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

Andriy Gapon avg at FreeBSD.org
Wed May 24 21:52:22 UTC 2017


Author: avg
Date: Wed May 24 21:52:20 2017
New Revision: 318824
URL: https://svnweb.freebsd.org/changeset/base/318824

Log:
  MFC r316915: 7801 add more by-dnode routines (lint)
  
  illumos/illumos-gate at 411be58a6e030a3b606f1afcc7f2e2459ffda844
  https://github.com/illumos/illumos-gate/commit/411be58a6e030a3b606f1afcc7f2e2459ffda844
  MFC after:	24 days
  X-MFC with:	r318823

Modified:
  head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c
Directory Properties:
  head/sys/cddl/contrib/opensolaris/   (props changed)

Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c	Wed May 24 21:49:21 2017	(r318823)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_tx.c	Wed May 24 21:52:20 2017	(r318824)
@@ -336,7 +336,6 @@ dmu_tx_hold_free_impl(dmu_tx_hold_t *txh
 	dmu_tx_t *tx;
 	dnode_t *dn;
 	int err;
-	zio_t *zio;
 
 	tx = txh->txh_tx;
 	ASSERT(tx->tx_txg == 0);
@@ -444,7 +443,7 @@ dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, 
 }
 
 static void
-dmu_tx_hold_zap_impl(dmu_tx_hold_t *txh, int add, const char *name)
+dmu_tx_hold_zap_impl(dmu_tx_hold_t *txh, const char *name)
 {
 	dmu_tx_t *tx = txh->txh_tx;
 	dnode_t *dn;
@@ -505,7 +504,7 @@ dmu_tx_hold_zap(dmu_tx_t *tx, uint64_t o
 	txh = dmu_tx_hold_object_impl(tx, tx->tx_objset,
 	    object, THT_ZAP, add, (uintptr_t)name);
 	if (txh != NULL)
-		dmu_tx_hold_zap_impl(txh, add, name);
+		dmu_tx_hold_zap_impl(txh, name);
 }
 
 void
@@ -518,7 +517,7 @@ dmu_tx_hold_zap_by_dnode(dmu_tx_t *tx, d
 
 	txh = dmu_tx_hold_dnode_impl(tx, dn, THT_ZAP, add, (uintptr_t)name);
 	if (txh != NULL)
-		dmu_tx_hold_zap_impl(txh, add, name);
+		dmu_tx_hold_zap_impl(txh, name);
 }
 
 void


More information about the svn-src-all mailing list