freebsd-dev/cddl/contrib/opensolaris/lib/libzfs/common
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
..
libzfs_changelist.c
libzfs_compat.c Missed addition to r296563 to fix newer tools to work with older kernel. 2016-03-09 16:05:13 +00:00
libzfs_compat.h
libzfs_config.c MFV r296527: 6659 nvlist_free(NULL) is a no-op 2016-03-08 18:11:38 +00:00
libzfs_dataset.c MFV r298471: 6052 decouple lzc_create() from the implementation details 2016-04-22 13:00:27 +00:00
libzfs_diff.c MFV r296540: 4448 zfs diff misprints unicode characters 2016-03-08 18:53:00 +00:00
libzfs_fru.c
libzfs_impl.h MFV r260154 + 260182: 2014-01-02 07:34:36 +00:00
libzfs_import.c MFV r297760: 6418 zpool should have a label clearing command 2016-04-09 20:30:50 +00:00
libzfs_iter.c MFV r289561: 6328 Fix cstyle errors in zfs codebase 2015-10-19 08:25:37 +00:00
libzfs_mount.c MFV r289312: 2605 want to resume interrupted zfs send 2015-10-15 08:47:32 +00:00
libzfs_pool.c MFV r297760: 6418 zpool should have a label clearing command 2016-04-09 20:30:50 +00:00
libzfs_sendrecv.c zfs receive: -u can be ignored sometimes 2016-04-03 07:40:33 +00:00
libzfs_status.c Enhance the ZFS vdev layer to maintain both a logical and a physical 2013-08-21 04:10:24 +00:00
libzfs_util.c MFV r289561: 6328 Fix cstyle errors in zfs codebase 2015-10-19 08:25:37 +00:00
libzfs.h MFV r296538: 6544 incorrect comment in libzfs.h about offline status 2016-03-08 18:48:20 +00:00