Replace .ioctl through .unlocked_ioctl