aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventpoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r--fs/eventpoll.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c
index e7e9901c3790..e767e4389cb1 100644
--- a/fs/eventpoll.c
+++ b/fs/eventpoll.c
@@ -1077,6 +1077,7 @@ static struct epitem *ep_find(struct eventpoll *ep, struct file *file, int fd)
1077 return epir; 1077 return epir;
1078} 1078}
1079 1079
1080#ifdef CONFIG_CHECKPOINT_RESTORE
1080static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff) 1081static struct epitem *ep_find_tfd(struct eventpoll *ep, int tfd, unsigned long toff)
1081{ 1082{
1082 struct rb_node *rbp; 1083 struct rb_node *rbp;
@@ -1118,6 +1119,7 @@ struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd,
1118 1119
1119 return file_raw; 1120 return file_raw;
1120} 1121}
1122#endif /* CONFIG_CHECKPOINT_RESTORE */
1121 1123
1122/* 1124/*
1123 * This is the callback that is passed to the wait queue wakeup 1125 * This is the callback that is passed to the wait queue wakeup