Project

General

Profile

Bug #3543 » 49c3edafab8335d3e66b471165eb78375d150c83.patch

Patch to fix outdated assertion. - Richard Yao, 2013-02-10 12:44 AM

View differences:

module/zfs/spa.c
6294 6294
	 * future version would result in an unopenable pool, this shouldn't be
6295 6295
	 * possible.
6296 6296
	 */
6297
	ASSERT(spa->spa_uberblock.ub_version <= SPA_VERSION);
6297
	ASSERT(SPA_VERSION_IS_SUPPORTED(spa->spa_uberblock.ub_version));
6298 6298
	ASSERT(version >= spa->spa_uberblock.ub_version);
6299 6299

  
6300 6300
	spa->spa_uberblock.ub_version = version;
(1-1/2)