diff options
Diffstat (limited to 'fs/eventpoll.c')
-rw-r--r-- | fs/eventpoll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/eventpoll.c b/fs/eventpoll.c index 810c28fb8c3c..983e3960abff 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -1814,7 +1814,7 @@ SYSCALL_DEFINE4(epoll_ctl, int, epfd, int, op, int, fd, | |||
1814 | 1814 | ||
1815 | /* The target file descriptor must support poll */ | 1815 | /* The target file descriptor must support poll */ |
1816 | error = -EPERM; | 1816 | error = -EPERM; |
1817 | if (!tf.file->f_op || !tf.file->f_op->poll) | 1817 | if (!tf.file->f_op->poll) |
1818 | goto error_tgt_fput; | 1818 | goto error_tgt_fput; |
1819 | 1819 | ||
1820 | /* Check if EPOLLWAKEUP is allowed */ | 1820 | /* Check if EPOLLWAKEUP is allowed */ |