aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/dmu_object.c')
-rw-r--r--module/zfs/dmu_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/dmu_object.c b/module/zfs/dmu_object.c
index 3e3efe0c1..8ca699ebf 100644
--- a/module/zfs/dmu_object.c
+++ b/module/zfs/dmu_object.c
@@ -131,7 +131,7 @@ dmu_object_alloc_dnsize(objset_t *os, dmu_object_type_t ot, int blocksize,
dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, dn_slots, tx);
mutex_exit(&os->os_obj_lock);
- dmu_tx_add_new_object(tx, os, dn);
+ dmu_tx_add_new_object(tx, dn);
dnode_rele(dn, FTAG);
return (object);
@@ -168,7 +168,7 @@ dmu_object_claim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot,
return (err);
dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, dn_slots, tx);
- dmu_tx_add_new_object(tx, os, dn);
+ dmu_tx_add_new_object(tx, dn);
dnode_rele(dn, FTAG);