projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
proc: always do ->release
[deliverable/linux.git]
/
fs
/
inotify_user.c
diff --git
a/fs/inotify_user.c
b/fs/inotify_user.c
index dc7e1f61974812cb81b8e4d07207e787b6ecbba2..fe79c25d95dc9c630649aec8485b784bbb34d49c 100644
(file)
--- a/
fs/inotify_user.c
+++ b/
fs/inotify_user.c
@@
-574,6
+574,10
@@
asmlinkage long sys_inotify_init1(int flags)
struct file *filp;
int fd, ret;
+ /* Check the IN_* constants for consistency. */
+ BUILD_BUG_ON(IN_CLOEXEC != O_CLOEXEC);
+ BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK);
+
if (flags & ~(IN_CLOEXEC | IN_NONBLOCK))
return -EINVAL;
This page took
0.067136 seconds
and
5
git commands to generate.