projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d4d657
)
[regression] chunk lost from bd9b51
author
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 19 Dec 2014 12:11:56 +0000
(07:11 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Fri, 19 Dec 2014 12:13:21 +0000
(07:13 -0500)
Reported-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/net/socket.c
b/net/socket.c
index 70bbde65e4cab3a1e7288257d8d2164a905ba9ee..a2c33a4dc7bab45e520556557924b62d24951d85 100644
(file)
--- a/
net/socket.c
+++ b/
net/socket.c
@@
-372,7
+372,6
@@
struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname)
path.mnt = mntget(sock_mnt);
d_instantiate(path.dentry, SOCK_INODE(sock));
- SOCK_INODE(sock)->i_fop = &socket_file_ops;
file = alloc_file(&path, FMODE_READ | FMODE_WRITE,
&socket_file_ops);