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 990c01d2d66b..9392dd968125 100644 --- a/fs/eventpoll.c +++ b/fs/eventpoll.c | |||
@@ -1068,7 +1068,7 @@ asmlinkage long sys_epoll_create(int size) | |||
1068 | * Creates all the items needed to setup an eventpoll file. That is, | 1068 | * Creates all the items needed to setup an eventpoll file. That is, |
1069 | * a file structure and a free file descriptor. | 1069 | * a file structure and a free file descriptor. |
1070 | */ | 1070 | */ |
1071 | fd = anon_inode_getfd("[eventpoll]", &eventpoll_fops, ep); | 1071 | fd = anon_inode_getfd("[eventpoll]", &eventpoll_fops, ep, 0); |
1072 | if (fd < 0) | 1072 | if (fd < 0) |
1073 | ep_free(ep); | 1073 | ep_free(ep); |
1074 | 1074 | ||