llseek: automatically add .llseek fop
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / autofs4 / dev-ioctl.c
index ba4a38b9c22ff63d9897ad59c30c1479a0c54fed..eff9a419469a3d1661f4ad64d674b8db4370ae09 100644 (file)
@@ -724,6 +724,7 @@ static const struct file_operations _dev_ioctl_fops = {
        .unlocked_ioctl  = autofs_dev_ioctl,
        .compat_ioctl = autofs_dev_ioctl_compat,
        .owner   = THIS_MODULE,
+       .llseek = noop_llseek,
 };
 
 static struct miscdevice _autofs_dev_ioctl_misc = {