]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/dlm/plock.c
llseek: automatically add .llseek fop
[mirror_ubuntu-artful-kernel.git] / fs / dlm / plock.c
index d45c02db694393a1989119ec510709b653dd76e9..30d8b85febbf1eb413333bddac0b365b29b676d3 100644 (file)
@@ -412,7 +412,8 @@ static const struct file_operations dev_fops = {
        .read    = dev_read,
        .write   = dev_write,
        .poll    = dev_poll,
-       .owner   = THIS_MODULE
+       .owner   = THIS_MODULE,
+       .llseek  = noop_llseek,
 };
 
 static struct miscdevice plock_dev_misc = {