aboutsummaryrefslogtreecommitdiffstats
path: root/fs/signalfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/signalfd.c')
-rw-r--r--fs/signalfd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/signalfd.c b/fs/signalfd.c
index 619725644c75..ddb328b74bde 100644
--- a/fs/signalfd.c
+++ b/fs/signalfd.c
@@ -227,7 +227,8 @@ asmlinkage long sys_signalfd(int ufd, sigset_t __user *user_mask, size_t sizemas
227 * When we call this, the initialization must be complete, since 227 * When we call this, the initialization must be complete, since
228 * anon_inode_getfd() will install the fd. 228 * anon_inode_getfd() will install the fd.
229 */ 229 */
230 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx); 230 ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx,
231 0);
231 if (ufd < 0) 232 if (ufd < 0)
232 kfree(ctx); 233 kfree(ctx);
233 } else { 234 } else {