Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 335822
b: refs/heads/master
c: 3587b1b
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Nov 18, 2012
1 parent cd3cb67 commit 94f610d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 8d938105e432fe0e9f5163147e9c113190bd9d32
refs/heads/master: 3587b1b097d70c2eb9fee95ea7995d13c05f66e5
3 changes: 2 additions & 1 deletion trunk/fs/notify/fanotify/fanotify_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ static ssize_t copy_event_to_user(struct fsnotify_group *group,
if (ret)
goto out_close_fd;

fd_install(fd, f);
if (fd != FAN_NOFD)
fd_install(fd, f);
return fanotify_event_metadata.event_len;

out_close_fd:
Expand Down

0 comments on commit 94f610d

Please sign in to comment.