aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/eventpoll.h1
-rw-r--r--include/linux/fs.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/eventpoll.h b/include/linux/eventpoll.h
index f362733186a..657ab55beda 100644
--- a/include/linux/eventpoll.h
+++ b/include/linux/eventpoll.h
@@ -61,6 +61,7 @@ struct file;
61static inline void eventpoll_init_file(struct file *file) 61static inline void eventpoll_init_file(struct file *file)
62{ 62{
63 INIT_LIST_HEAD(&file->f_ep_links); 63 INIT_LIST_HEAD(&file->f_ep_links);
64 INIT_LIST_HEAD(&file->f_tfile_llink);
64} 65}
65 66
66 67
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7b17db7c5a6..d8ecb015ff8 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -969,6 +969,7 @@ struct file {
969#ifdef CONFIG_EPOLL 969#ifdef CONFIG_EPOLL
970 /* Used by fs/eventpoll.c to link all the hooks to this file */ 970 /* Used by fs/eventpoll.c to link all the hooks to this file */
971 struct list_head f_ep_links; 971 struct list_head f_ep_links;
972 struct list_head f_tfile_llink;
972#endif /* #ifdef CONFIG_EPOLL */ 973#endif /* #ifdef CONFIG_EPOLL */
973 struct address_space *f_mapping; 974 struct address_space *f_mapping;
974#ifdef CONFIG_DEBUG_WRITECOUNT 975#ifdef CONFIG_DEBUG_WRITECOUNT