aboutsummaryrefslogtreecommitdiff
path: root/module/zfs/dmu_tx.c
diff options
context:
space:
mode:
authorMatthew Ahrens <mahrens@delphix.com>2017-03-15 12:49:59 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2017-03-20 19:33:17 +0000
commit9522bd24297620b0b5a6f96231c59875363194c1 (patch)
treee425ada7e84049102098b637f01f4566c8cc4981 /module/zfs/dmu_tx.c
parent8614ddf9b42d7aca60f7a4218b62f3c5957fe5a0 (diff)
downloadsrc-9522bd24297620b0b5a6f96231c59875363194c1.tar.gz
src-9522bd24297620b0b5a6f96231c59875363194c1.zip
Diffstat (limited to 'module/zfs/dmu_tx.c')
-rw-r--r--module/zfs/dmu_tx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/dmu_tx.c b/module/zfs/dmu_tx.c
index ebab5a34165c..0f7a38c0ce31 100644
--- a/module/zfs/dmu_tx.c
+++ b/module/zfs/dmu_tx.c
@@ -458,7 +458,7 @@ dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, uint64_t len)
}
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 = txh->txh_dnode;
@@ -517,7 +517,7 @@ dmu_tx_hold_zap(dmu_tx_t *tx, uint64_t object, int add, const char *name)
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
@@ -530,7 +530,7 @@ dmu_tx_hold_zap_by_dnode(dmu_tx_t *tx, dnode_t *dn, int add, const char *name)
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