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/uts/common/fs/zfs/sys/dsl_deleg.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_deleg.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) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
  23      - * Copyright (c) 2011 by Delphix. All rights reserved.
       23 + * Copyright (c) 2012 by Delphix. All rights reserved.
  24   24   */
  25   25  
  26   26  #ifndef _SYS_DSL_DELEG_H
  27   27  #define _SYS_DSL_DELEG_H
  28   28  
  29   29  #include <sys/dmu.h>
  30   30  #include <sys/dsl_pool.h>
  31   31  #include <sys/zfs_context.h>
  32   32  
  33   33  #ifdef  __cplusplus
↓ open down ↓ 24 lines elided ↑ open up ↑
  58   58  #define ZFS_DELEG_PERM_DIFF             "diff"
  59   59  
  60   60  /*
  61   61   * Note: the names of properties that are marked delegatable are also
  62   62   * valid delegated permissions
  63   63   */
  64   64  
  65   65  int dsl_deleg_get(const char *ddname, nvlist_t **nvp);
  66   66  int dsl_deleg_set(const char *ddname, nvlist_t *nvp, boolean_t unset);
  67   67  int dsl_deleg_access(const char *ddname, const char *perm, cred_t *cr);
  68      -int dsl_deleg_access_impl(struct dsl_dataset *ds, boolean_t descendent,
  69      -    const char *perm, cred_t *cr);
       68 +int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr);
  70   69  void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
  71   70  int dsl_deleg_can_allow(char *ddname, nvlist_t *nvp, cred_t *cr);
  72   71  int dsl_deleg_can_unallow(char *ddname, nvlist_t *nvp, cred_t *cr);
  73   72  int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
  74   73  boolean_t dsl_delegation_on(objset_t *os);
  75   74  
  76   75  #ifdef  __cplusplus
  77   76  }
  78   77  #endif
  79   78  
  80   79  #endif  /* _SYS_DSL_DELEG_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX