Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223358
b: refs/heads/master
c: 1734dee
h: refs/heads/master
v: v3
  • Loading branch information
Lino Sanfilippo authored and Eric Paris committed Dec 7, 2010
1 parent 3b164fa commit 002bd7b
Show file tree
Hide file tree
Showing 2 changed files with 4 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: fa218ab98c31eeacd12b89501e6b99d146ea56cc
refs/heads/master: 1734dee4e3a296cb72b4819fc2e7ef2440737dff
4 changes: 3 additions & 1 deletion trunk/fs/notify/fanotify/fanotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,10 @@ SYSCALL_DEFINE(fanotify_mark)(int fanotify_fd, unsigned int flags,
if (flags & ~FAN_ALL_MARK_FLAGS)
return -EINVAL;
switch (flags & (FAN_MARK_ADD | FAN_MARK_REMOVE | FAN_MARK_FLUSH)) {
case FAN_MARK_ADD:
case FAN_MARK_ADD: /* fallthrough */
case FAN_MARK_REMOVE:
if (!mask)
return -EINVAL;
case FAN_MARK_FLUSH:
break;
default:
Expand Down

0 comments on commit 002bd7b

Please sign in to comment.