diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/socket.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index 70bbde65e4ca..a2c33a4dc7ba 100644 --- 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) | |||
372 | path.mnt = mntget(sock_mnt); | 372 | path.mnt = mntget(sock_mnt); |
373 | 373 | ||
374 | d_instantiate(path.dentry, SOCK_INODE(sock)); | 374 | d_instantiate(path.dentry, SOCK_INODE(sock)); |
375 | SOCK_INODE(sock)->i_fop = &socket_file_ops; | ||
376 | 375 | ||
377 | file = alloc_file(&path, FMODE_READ | FMODE_WRITE, | 376 | file = alloc_file(&path, FMODE_READ | FMODE_WRITE, |
378 | &socket_file_ops); | 377 | &socket_file_ops); |