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>

@@ -19,25 +19,26 @@
  * CDDL HEADER END
  */
 
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2011 by Delphix. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
-#ifndef _LIBFS_IMPL_H
-#define _LIBFS_IMPL_H
+#ifndef _LIBZFS_IMPL_H
+#define _LIBZFS_IMPL_H
 
 #include <sys/dmu.h>
 #include <sys/fs/zfs.h>
 #include <sys/zfs_ioctl.h>
 #include <sys/spa.h>
 #include <sys/nvpair.h>
 
 #include <libuutil.h>
 #include <libzfs.h>
 #include <libshare.h>
+#include <libzfs_core.h>
 
 #include <fm/libtopo.h>
 
 #ifdef  __cplusplus
 extern "C" {

@@ -65,11 +66,10 @@
         uu_avl_t *libzfs_ns_avl;
         uint64_t libzfs_ns_gen;
         int libzfs_desc_active;
         char libzfs_action[1024];
         char libzfs_desc[1024];
-        char *libzfs_log_str;
         int libzfs_printerr;
         int libzfs_storeerr; /* stuff error messages into buffer */
         void *libzfs_sharehdl; /* libshare handle */
         uint_t libzfs_shareflags;
         boolean_t libzfs_mnttab_enable;

@@ -211,6 +211,6 @@
 
 #ifdef  __cplusplus
 }
 #endif
 
-#endif  /* _LIBFS_IMPL_H */
+#endif  /* _LIBZFS_IMPL_H */