Print this page
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>

Split Close
Expand all
Collapse all
          --- old/usr/src/common/zfs/zfs_comutil.h
          +++ new/usr/src/common/zfs/zfs_comutil.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
       23 + * Copyright (c) 2012 by Delphix. All rights reserved.
  23   24   */
  24   25  
  25   26  #ifndef _ZFS_COMUTIL_H
  26   27  #define _ZFS_COMUTIL_H
  27   28  
  28   29  #include <sys/fs/zfs.h>
  29   30  #include <sys/types.h>
  30   31  
  31   32  #ifdef  __cplusplus
  32   33  extern "C" {
  33   34  #endif
  34   35  
  35   36  extern boolean_t zfs_allocatable_devs(nvlist_t *);
  36   37  extern void zpool_get_rewind_policy(nvlist_t *, zpool_rewind_policy_t *);
  37   38  
  38   39  extern int zfs_zpl_version_map(int spa_version);
  39   40  extern int zfs_spa_version_map(int zpl_version);
  40      -extern const char *zfs_history_event_names[LOG_END];
       41 +#define ZFS_NUM_LEGACY_HISTORY_EVENTS 41
       42 +extern const char *zfs_history_event_names[ZFS_NUM_LEGACY_HISTORY_EVENTS];
  41   43  
  42   44  #ifdef  __cplusplus
  43   45  }
  44   46  #endif
  45   47  
  46   48  #endif  /* _ZFS_COMUTIL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX