mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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 <kjeld@schouten-lebbing.nl> Reviewed-by: Jorgen Lundman <lundman@lundman.net> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #9625
This commit is contained in:
committed by
Brian Behlendorf
parent
a7c358845b
commit
a5b762ab1d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user