git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rcu: Make lockdep_rcu_dereference() message less alarmist
[safe/jmp/linux-2.6]
/
fs
/
signalfd.c
diff --git
a/fs/signalfd.c
b/fs/signalfd.c
index
b07565c
..
1dabe4e
100644
(file)
--- a/
fs/signalfd.c
+++ b/
fs/signalfd.c
@@
-236,7
+236,7
@@
SYSCALL_DEFINE4(signalfd4, int, ufd, sigset_t __user *, user_mask,
* anon_inode_getfd() will install the fd.
*/
ufd = anon_inode_getfd("[signalfd]", &signalfd_fops, ctx,
-
flags & (O_CLOEXEC | O_NONBLOCK
));
+
O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK)
));
if (ufd < 0)
kfree(ctx);
} else {