Update dsl_dataset_destroy() directly from Illumos.  The patched version was bogus.
Fix dsl_dataset_user_release_sync().
Update logging in spa_history_log_internal.
Copy spa_history_log_sync() from Illumos.  Add a missing comment block.