--- a/usr/src/grub/grub-0.97/stage2/zfs-include/spa.h Sun May 20 02:46:39 2012 -0500
+++ b/usr/src/grub/grub-0.97/stage2/zfs-include/spa.h Mon May 21 12:11:39 2012 -0700
@@ -16,11 +16,16 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright (c) 2012 by Delphix. All rights reserved.
+ */
+
#ifndef _SYS_SPA_H
#define _SYS_SPA_H
@@ -65,7 +70,7 @@
/*
* Size of block to hold the configuration data (a packed nvlist)
*/
-#define SPA_CONFIG_BLOCKSIZE (1 << 14)
+#define SPA_CONFIG_BLOCKSIZE (1ULL << 14)
/*
* The DVA size encodings for LSIZE and PSIZE support blocks up to 32MB.