From a5b762ab1d9064bcae85f72c64c4a54bef7bbd80 Mon Sep 17 00:00:00 2001 From: Matthew Macy Date: Sat, 30 Nov 2019 15:35:54 -0800 Subject: Resolve ZoF differences in zfs_ioctl.h FreeBSD needs to be able to pass the jail id to the jail/unjail ioctls and the struct file in the device structure is unused. Reviewed-by: Kjeld Schouten Reviewed-by: Jorgen Lundman Reviewed-by: Brian Behlendorf Signed-off-by: Matt Macy Closes #9625 --- module/os/linux/zfs/zfs_ioctl_os.c | 1 - 1 file changed, 1 deletion(-) (limited to 'module/os') diff --git a/module/os/linux/zfs/zfs_ioctl_os.c b/module/os/linux/zfs/zfs_ioctl_os.c index 543748c14..fa47c30ea 100644 --- a/module/os/linux/zfs/zfs_ioctl_os.c +++ b/module/os/linux/zfs/zfs_ioctl_os.c @@ -99,7 +99,6 @@ zfsdev_state_init(struct file *filp) newzs = B_TRUE; } - zs->zs_file = filp; filp->private_data = zs; zfs_onexit_init((zfs_onexit_t **)&zs->zs_onexit); -- cgit v1.2.3