diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c index 2270b941bcc7..9eac5c394134 100644 --- a/net/socket.c +++ b/net/socket.c | |||
@@ -502,6 +502,7 @@ static int sock_no_open(struct inode *irrelevant, struct file *dontcare) | |||
502 | const struct file_operations bad_sock_fops = { | 502 | const struct file_operations bad_sock_fops = { |
503 | .owner = THIS_MODULE, | 503 | .owner = THIS_MODULE, |
504 | .open = sock_no_open, | 504 | .open = sock_no_open, |
505 | .llseek = noop_llseek, | ||
505 | }; | 506 | }; |
506 | 507 | ||
507 | /** | 508 | /** |