Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223361
b: refs/heads/master
c: 2637919
h: refs/heads/master
i:
  223359: 02f68c9
v: v3
  • Loading branch information
Eric Paris committed Dec 7, 2010
1 parent cf54a36 commit a27f3f8
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: a2ae4cc9a16e211c8a128ba10d22a85431f093ab
refs/heads/master: 26379198937fcc9bbe7be76be695d06df8334eaa
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 @@ -692,8 +692,10 @@ SYSCALL_DEFINE2(fanotify_init, unsigned int, flags, unsigned int, event_f_flags)

/* fsnotify_alloc_group takes a ref. Dropped in fanotify_release */
group = fsnotify_alloc_group(&fanotify_fsnotify_ops);
if (IS_ERR(group))
if (IS_ERR(group)) {
free_uid(user);
return PTR_ERR(group);
}

group->fanotify_data.user = user;
atomic_inc(&user->fanotify_listeners);
Expand Down

0 comments on commit a27f3f8

Please sign in to comment.