llseek: automatically add .llseek fop
[deliverable/linux.git] / net / socket.c
index 2270b941bcc76ec0e52cc0d1321d8572164299e1..9eac5c3941340c60343233402886780117aa93d3 100644 (file)
@@ -502,6 +502,7 @@ static int sock_no_open(struct inode *irrelevant, struct file *dontcare)
 const struct file_operations bad_sock_fops = {
        .owner = THIS_MODULE,
        .open = sock_no_open,
+       .llseek = noop_llseek,
 };
 
 /**
This page took 0.025857 seconds and 5 git commands to generate.