freebsd-dev/cddl/contrib/opensolaris
Andriy Gapon dbbcddb426 MFV r298471: 6052 decouple lzc_create() from the implementation details
illumos/illumos-gate@26455f9efc
26455f9efc

https://www.illumos.org/issues/6052
  At the moment type parameter of lzc_create() is of dmu_objset_type_t type.
  That exposes an implementation detail and requires sys/fs/zfs.h to be included
  in libzfs_core.h creating unnecessary coupling between libzfs_core interface
  and ZFS internals.
  I think that dmu_objset_type_t should be replaced with a libzfs_core
  enumeration of supported dataset types.
  For ABI reasons the new enumeration could be bit-compatible with
  dmu_objset_type_t.
  For example:
      typedef enum {
          LZC_DST_ZFS = 2,
          LZC_DST_ZVOL
      } lzc_dataset_type_t;

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Andriy Gapon <andriy.gapon@clusterhq.com>

MFC after:	2 weeks
Sponsored by:	ClusterHQ
2016-04-22 13:00:27 +00:00
..
cmd Print error messages to stderr 2016-04-16 12:32:26 +00:00
common remove an extra copy of avl.c from illumos contrib code 2015-09-28 12:23:10 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib MFV r298471: 6052 decouple lzc_create() from the implementation details 2016-04-22 13:00:27 +00:00
tools/ctf Remove a dead local variable, missed in r274565. 2016-01-14 00:34:37 +00:00
OPENSOLARIS.LICENSE