]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - include/zfs_comutil.h
Drop dependency on dh-systemd
[mirror_zfs-debian.git] / include / zfs_comutil.h
index 61327f9aa909059b1fa5ff553ec9bd13e6c3b58b..f89054388a4d5159b67c50c1f2f0f36a4733b7c8 100644 (file)
@@ -20,6 +20,7 @@
  */
 /*
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 #ifndef        _ZFS_COMUTIL_H
@@ -37,7 +38,8 @@ extern void zpool_get_rewind_policy(nvlist_t *, zpool_rewind_policy_t *);
 
 extern int zfs_zpl_version_map(int spa_version);
 extern int zfs_spa_version_map(int zpl_version);
-extern const char *zfs_history_event_names[LOG_END];
+#define        ZFS_NUM_LEGACY_HISTORY_EVENTS 41
+extern const char *zfs_history_event_names[ZFS_NUM_LEGACY_HISTORY_EVENTS];
 
 #ifdef __cplusplus
 }