llseek: automatically add .llseek fop
[linux-2.6-block.git] / drivers / md / dm-ioctl.c
index 3e39193e5036e709665e08345ba242d83662c606..4b54618b4159368eed4e3febee680b2ff94724df 100644 (file)
@@ -1596,6 +1596,7 @@ static const struct file_operations _ctl_fops = {
        .unlocked_ioctl  = dm_ctl_ioctl,
        .compat_ioctl = dm_compat_ctl_ioctl,
        .owner   = THIS_MODULE,
+       .llseek  = noop_llseek,
 };
 
 static struct miscdevice _dm_misc = {