diff options
author | Matthew Ahrens <mahrens@delphix.com> | 2012-06-30 13:00:47 -0700 |
---|---|---|
committer | Matthew Ahrens <mahrens@delphix.com> | 2012-06-30 13:00:47 -0700 |
commit | 4445fffbbb1ea25fd0e9ea68b9380dd7a6709025 (patch) | |
tree | 96d148ee8a1a6fef6fe7ac63eb07f3167eea42c7 /usr/src/common/zfs/zfs_comutil.h | |
parent | 9ef03c055f522c54b994c0aa6105d8e78b7fe077 (diff) | |
download | illumos-joyent-4445fffbbb1ea25fd0e9ea68b9380dd7a6709025.tar.gz |
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>
Approved by: Eric Schrock <Eric.Schrock@delphix.com>
Diffstat (limited to 'usr/src/common/zfs/zfs_comutil.h')
-rw-r--r-- | usr/src/common/zfs/zfs_comutil.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/common/zfs/zfs_comutil.h b/usr/src/common/zfs/zfs_comutil.h index 61327f9aa9..f89054388a 100644 --- a/usr/src/common/zfs/zfs_comutil.h +++ b/usr/src/common/zfs/zfs_comutil.h @@ -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 } |