diff options
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 88a6f8d0b88e..3ae644e7e860 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -795,8 +795,8 @@ static int ep_getfd(int *efd, struct inode **einode, struct file **efile, | |||
795 | goto eexit_4; | 795 | goto eexit_4; |
796 | dentry->d_op = &eventpollfs_dentry_operations; | 796 | dentry->d_op = &eventpollfs_dentry_operations; |
797 | d_add(dentry, inode); | 797 | d_add(dentry, inode); |
798 | file->f_vfsmnt = mntget(eventpoll_mnt); | 798 | file->f_path.mnt = mntget(eventpoll_mnt); |
799 | file->f_dentry = dentry; | 799 | file->f_path.dentry = dentry; |
800 | file->f_mapping = inode->i_mapping; | 800 | file->f_mapping = inode->i_mapping; |
801 | 801 | ||
802 | file->f_pos = 0; | 802 | file->f_pos = 0; |