diff options
author | delphij <delphij@FreeBSD.org> | 2013-06-11 19:29:31 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-06-11 19:29:31 +0000 |
commit | 421d82372619ed594e217affe20d5bfa3854e919 (patch) | |
tree | 7074a010e24384bd48bf708a0ec868b801b31602 /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c | |
parent | 8fe6a06d588fe573f5eca150f1d9340db2c8e50e (diff) | |
download | FreeBSD-src-421d82372619ed594e217affe20d5bfa3854e919.zip FreeBSD-src-421d82372619ed594e217affe20d5bfa3854e919.tar.gz |
MFV r251624:
txg commit callbacks don't work
Illumos ZFS issues:
3747 txg commit callbacks don't work
MFC after: 2 weeks
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c index bbf2f82..18c722e 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/txg.c @@ -439,7 +439,7 @@ txg_dispatch_callbacks(dsl_pool_t *dp, uint64_t txg) list_create(cb_list, sizeof (dmu_tx_callback_t), offsetof(dmu_tx_callback_t, dcb_node)); - list_move_tail(&tc->tc_callbacks[g], cb_list); + list_move_tail(cb_list, &tc->tc_callbacks[g]); (void) taskq_dispatch(tx->tx_commit_cb_taskq, (task_func_t *) txg_do_callbacks, cb_list, TQ_SLEEP); |