Skip to content

Commit

Permalink
[regression] chunk lost from bd9b51
Browse files Browse the repository at this point in the history
Reported-by: Pavel Emelyanov <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Dec 19, 2014
1 parent 9d4d657 commit e3bb504
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e3bb504

Please sign in to comment.