aboutsummaryrefslogtreecommitdiffstats
path: root/fs/eventfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/eventfd.c')
-rw-r--r--fs/eventfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/eventfd.c b/fs/eventfd.c
index 343942deeec1..6094265ca409 100644
--- a/fs/eventfd.c
+++ b/fs/eventfd.c
@@ -214,7 +214,7 @@ asmlinkage long sys_eventfd(unsigned int count)
214 * When we call this, the initialization must be complete, since 214 * When we call this, the initialization must be complete, since
215 * anon_inode_getfd() will install the fd. 215 * anon_inode_getfd() will install the fd.
216 */ 216 */
217 fd = anon_inode_getfd("[eventfd]", &eventfd_fops, ctx); 217 fd = anon_inode_getfd("[eventfd]", &eventfd_fops, ctx, 0);
218 if (fd < 0) 218 if (fd < 0)
219 kfree(ctx); 219 kfree(ctx);
220 return fd; 220 return fd;