Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19983
b: refs/heads/master
c: b517311
h: refs/heads/master
i:
  19981: f1d8329
  19979: ddecac7
  19975: 61042b2
  19967: 2ae2470
v: v3
  • Loading branch information
Robert Love authored and Linus Torvalds committed Feb 8, 2006
1 parent dc9ad34 commit 9d946c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e08b756869eeb08ace17ad64c2a8cb97b18e856
refs/heads/master: b5173119ff10c5538e92a7957a50887ae170b8da
2 changes: 1 addition & 1 deletion trunk/fs/inotify.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ asmlinkage long sys_inotify_add_watch(int fd, const char __user *path, u32 mask)
mask_add = 1;

/* don't let user-space set invalid bits: we don't want flags set */
mask &= IN_ALL_EVENTS;
mask &= IN_ALL_EVENTS | IN_ONESHOT;
if (unlikely(!mask)) {
ret = -EINVAL;
goto out;
Expand Down

0 comments on commit 9d946c5

Please sign in to comment.