Skip to content

Commit

Permalink
Enable the call to zpool_log_history in upgrade_cb since this branch is
Browse files Browse the repository at this point in the history
merging 4445fff.
  • Loading branch information
dweeezil committed Jun 21, 2013
1 parent 528ad80 commit 43f9f51
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cmd/zpool/zpool_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4464,13 +4464,6 @@ upgrade_cb(zpool_handle_t *zhp, void *arg)
return (ret);
printnl = B_TRUE;

#if 0
/*
* XXX: This code can be enabled when Illumos commit
* 4445fffbbb1ea25fd0e9ea68b9380dd7a6709025 is merged.
* It reworks the history logging among other things.
*/

/*
* If they did "zpool upgrade -a", then we could
* be doing ioctls to different pools. We need
Expand All @@ -4479,7 +4472,6 @@ upgrade_cb(zpool_handle_t *zhp, void *arg)
*/
(void) zpool_log_history(g_zfs, history_str);
log_history = B_FALSE;
#endif
}

if (cbp->cb_version >= SPA_VERSION_FEATURES) {
Expand Down

0 comments on commit 43f9f51

Please sign in to comment.