Print this page
OS-1566 filesystem limits for ZFS datasets

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 ↓ 57 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, const char *perm, cred_t *cr);
       68 +int dsl_deleg_access_impl(struct dsl_dataset *ds, const char *perm, cred_t *cr,
       69 +    boolean_t);
  69   70  void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
  70   71  int dsl_deleg_can_allow(char *ddname, nvlist_t *nvp, cred_t *cr);
  71   72  int dsl_deleg_can_unallow(char *ddname, nvlist_t *nvp, cred_t *cr);
  72   73  int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
  73   74  boolean_t dsl_delegation_on(objset_t *os);
  74   75  
  75   76  #ifdef  __cplusplus
  76   77  }
  77   78  #endif
  78   79  
  79   80  #endif  /* _SYS_DSL_DELEG_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX