]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/eventpoll.c
flag parameters: anon_inode_getfd extension
[net-next-2.6.git] / fs / eventpoll.c
index 990c01d2d66bcce64a1c2a993cd6cc01ea5951d5..9392dd968125bd6894d0336e1aa8b56732a38c38 100644 (file)
@@ -1068,7 +1068,7 @@ asmlinkage long sys_epoll_create(int size)
         * Creates all the items needed to setup an eventpoll file. That is,
         * a file structure and a free file descriptor.
         */
-       fd = anon_inode_getfd("[eventpoll]", &eventpoll_fops, ep);
+       fd = anon_inode_getfd("[eventpoll]", &eventpoll_fops, ep, 0);
        if (fd < 0)
                ep_free(ep);