diff options
author | mm <mm@FreeBSD.org> | 2013-03-18 09:32:29 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2013-03-18 09:32:29 +0000 |
commit | 713c2d790d75eb897ffb4bf09b789cf8940e6ce4 (patch) | |
tree | 9353f3579ab3c149b4b017b4be06fbe98b7a5f52 /sys/cddl/contrib/opensolaris/common | |
parent | da897e350b0958d2948223afca3a685866ac6e9c (diff) | |
download | FreeBSD-src-713c2d790d75eb897ffb4bf09b789cf8940e6ce4.zip FreeBSD-src-713c2d790d75eb897ffb4bf09b789cf8940e6ce4.tar.gz |
Move common zfs ioctl compatibility functions (userland) into libzfs_compat.c
Introduce additional constants for zfs ioctl versions
Diffstat (limited to 'sys/cddl/contrib/opensolaris/common')
-rw-r--r-- | sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h b/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h index 2ec2242..57c2909 100644 --- a/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h +++ b/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.h @@ -45,8 +45,10 @@ extern "C" { */ /* ioctl versions for vfs.zfs.version.ioctl */ -#define ZFS_IOCVER_LZC 2 +#define ZFS_IOCVER_UNDEF -1 +#define ZFS_IOCVER_NONE 0 #define ZFS_IOCVER_DEADMAN 1 +#define ZFS_IOCVER_LZC 2 #define ZFS_IOCVER_CURRENT ZFS_IOCVER_LZC /* compatibility conversion flag */ |