diff options
Diffstat (limited to 'net/socket.c')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/socket.c b/net/socket.c index 309f76bc4..a29ad21f5 100644 --- a/net/socket.c +++ b/net/socket.c @@ -269,6 +269,8 @@ static int sock_map_fd(struct socket *sock) } file->f_dentry = d_alloc_root(sock->inode); + /* MOUNT_REWRITE: set to sockfs internal vfsmnt */ + file->f_vfsmnt = NULL; if (!file->f_dentry) { put_filp(file); put_unused_fd(fd); |