Support for zfs version 14
PATCH 1/1 Support for zfs version 14
# HG changeset patch
# User John Levon <[email protected]>
# Date 1236822104 25200
# Node ID ee0cc177dfa589c4cb21f6cb76aefeb0504a8100 # Parent c0559767ec1f4126b30460ed2161d75a363d5ee2 Support for zfs version 14.
Signed-off-by Susan Kamm-Worrell <[email protected]>
tools/libfsimage/zfs/fsys_zfs.c +1 -2
@@ -298,8 +298,7 @@ uberblock_verify(uberblock_phys_t *ub, ireturn (-1 );if (uber->ub_magic ==UBERBLOCK_MAGIC && - uber->ub_version >=SPA_VERSION_1 && - uber->ub_version <=SPA_VERSION ) + uber->ub_version >0 && uber->ub_version <=SPA_VERSION )return (0 );return (-1 );
tools/libfsimage/zfs/zfs-include/zfs.h +1 -11
@@ -28,17 +28,7 @@/* * On-disk version number. */ -#define SPA_VERSION_1 1ULL -#define SPA_VERSION_2 2ULL -#define SPA_VERSION_3 3ULL -#define SPA_VERSION_4 4ULL -#define SPA_VERSION_5 5ULL -#define SPA_VERSION_6 6ULL -#define SPA_VERSION_7 7ULL -#define SPA_VERSION_8 8ULL -#define SPA_VERSION_9 9ULL -#define SPA_VERSION_10 10ULL -#define SPA_VERSION SPA_VERSION_10 +#define SPA_VERSION 14ULL/* * The following are configuration names used in the nvlist describing a pool's