git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add snapdev=[hidden|visible] dataset property
[zfs.git]
/
include
/
sys
/
zfs_ioctl.h
diff --git
a/include/sys/zfs_ioctl.h
b/include/sys/zfs_ioctl.h
index
e3fd2c3
..
740d8ed
100644
(file)
--- a/
include/sys/zfs_ioctl.h
+++ b/
include/sys/zfs_ioctl.h
@@
-47,6
+47,12
@@
extern "C" {
#define ZFS_SNAPDIR_VISIBLE 1
/*
#define ZFS_SNAPDIR_VISIBLE 1
/*
+ * Property values for snapdev
+ */
+#define ZFS_SNAPDEV_HIDDEN 0
+#define ZFS_SNAPDEV_VISIBLE 1
+
+/*
* Field manipulation macros for the drr_versioninfo field of the
* send stream header.
*/
* Field manipulation macros for the drr_versioninfo field of the
* send stream header.
*/
@@
-286,7
+292,8
@@
typedef struct zfs_cmd {
boolean_t zc_temphold;
uint64_t zc_action_handle;
int zc_cleanup_fd;
boolean_t zc_temphold;
uint64_t zc_action_handle;
int zc_cleanup_fd;
- uint8_t zc_pad[4]; /* alignment */
+ uint8_t zc_simple;
+ uint8_t zc_pad[3]; /* alignment */
uint64_t zc_sendobj;
uint64_t zc_fromobj;
uint64_t zc_createtxg;
uint64_t zc_sendobj;
uint64_t zc_fromobj;
uint64_t zc_createtxg;