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
m68knommu: fix definitions of __pa() and __va()
[safe/jmp/linux-2.6]
/
fs
/
eventfd.c
diff --git
a/fs/eventfd.c
b/fs/eventfd.c
index
8b47e42
..
d26402f
100644
(file)
--- a/
fs/eventfd.c
+++ b/
fs/eventfd.c
@@
-339,7
+339,7
@@
struct file *eventfd_file_create(unsigned int count, int flags)
ctx->flags = flags;
file = anon_inode_getfile("[eventfd]", &eventfd_fops, ctx,
-
flags & EFD_SHARED_FCNTL_FLAGS
);
+
O_RDWR | (flags & EFD_SHARED_FCNTL_FLAGS)
);
if (IS_ERR(file))
eventfd_free_ctx(ctx);