summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorMatthew Macy <[email protected]>2019-11-30 15:35:54 -0800
committerBrian Behlendorf <[email protected]>2019-11-30 15:35:54 -0800
commita5b762ab1d9064bcae85f72c64c4a54bef7bbd80 (patch)
tree4e556a7c2fbdbee506aa72a189827c17ba77896e /module
parenta7c358845b1fdfc60b5f1f70d9d6a4ab87f95fa4 (diff)
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 <[email protected]> Reviewed-by: Jorgen Lundman <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Matt Macy <[email protected]> Closes #9625
Diffstat (limited to 'module')
-rw-r--r--module/os/linux/zfs/zfs_ioctl_os.c1
1 files changed, 0 insertions, 1 deletions
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);