freebsd-dev/cddl/contrib
Martin Matuska bb508e7732 Fix the zfs_ioctl compat layer to support zfs_cmd size change introduced
in r247265 (ZFS deadman thread). Both new utilities now support the old
kernel and new kernel properly detects old utilities.

For future backwards compatibility, the vfs.zfs.version.ioctl read-only
sysctl has been introduced. With this sysctl zfs utilities will be able
to detect the ioctl interface version of the currently loaded zfs module.

As a side effect, the zfs utilities between r247265 and this revision don't
support the old kernel module. If you are using HEAD newer or equal than
r247265, install the new kernel module (or whole kernel) first.

MFC after:	10 days
2013-03-01 09:42:58 +00:00
..
dtracetoolkit Finish porting execsnoop to FreeBSD. This includes replacing the zonename 2012-09-01 08:14:21 +00:00
opensolaris Fix the zfs_ioctl compat layer to support zfs_cmd size change introduced 2013-03-01 09:42:58 +00:00