diff options
author | Matthew Macy <[email protected]> | 2019-12-02 10:08:27 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-02 10:08:27 -0800 |
commit | 51420321068e905445e625def28fadc7c3625e13 (patch) | |
tree | e45349eef2df831b142fa97d5e21d86aea8cda4d /include | |
parent | 42a826eed32cd428a3f7c796c619a854c1f8f9dd (diff) |
Move zfs_cmd_t copyin/copyout to platform code
FreeBSD needs to cope with multiple version of the zfs_cmd_t
structure. Allowing the platform code to pre and post
process the cmd structure makes it possible to work with
legacy tooling.
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9624
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/zfs_ioctl_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zfs_ioctl_impl.h b/include/sys/zfs_ioctl_impl.h index 0c59441d5..a59cfa167 100644 --- a/include/sys/zfs_ioctl_impl.h +++ b/include/sys/zfs_ioctl_impl.h @@ -84,7 +84,7 @@ void zfs_ioctl_init_os(void); int zfs_vfs_ref(zfsvfs_t **); -long zfsdev_ioctl_common(uint_t, unsigned long); +long zfsdev_ioctl_common(uint_t, zfs_cmd_t *); int zfsdev_attach(void); void zfsdev_detach(void); int zfs_kmod_init(void); |