diff options
author | eschrock <none@none> | 2006-04-06 20:12:27 -0700 |
---|---|---|
committer | eschrock <none@none> | 2006-04-06 20:12:27 -0700 |
commit | eaca9bbd5f5d1e4e554da4c7108e8a03c8c33481 (patch) | |
tree | ef2b3aaeb726ac88394c9747efa5d31fd70b9509 /usr/src/uts/common/fs/zfs/spa_config.c | |
parent | 2b490d7cbf676bb735e581d0d9a4d058cca612b7 (diff) | |
download | illumos-gate-eaca9bbd5f5d1e4e554da4c7108e8a03c8c33481.tar.gz |
PSARC 2006/206 zpool upgrade
6399930 want 'zpool upgrade' to control change of version number
6400742 'zpool destroy' not clean inuse tag that have to need '-f' to use them again
Diffstat (limited to 'usr/src/uts/common/fs/zfs/spa_config.c')
-rw-r--r-- | usr/src/uts/common/fs/zfs/spa_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/zfs/spa_config.c b/usr/src/uts/common/fs/zfs/spa_config.c index acdac7ba62..906f2e5470 100644 --- a/usr/src/uts/common/fs/zfs/spa_config.c +++ b/usr/src/uts/common/fs/zfs/spa_config.c @@ -279,7 +279,7 @@ spa_config_generate(spa_t *spa, vdev_t *vd, uint64_t txg, int getstats) VERIFY(nvlist_alloc(&config, NV_UNIQUE_NAME, KM_SLEEP) == 0); VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_VERSION, - UBERBLOCK_VERSION) == 0); + spa->spa_uberblock.ub_version) == 0); VERIFY(nvlist_add_string(config, ZPOOL_CONFIG_POOL_NAME, spa_name(spa)) == 0); VERIFY(nvlist_add_uint64(config, ZPOOL_CONFIG_POOL_STATE, |