linux-uconsole/fs/notify
Eric Paris 51b491044a inotify: stop kernel memory leak on file creation failure
commit a2ae4cc9a1 upstream.

If inotify_init is unable to allocate a new file for the new inotify
group we leak the new group.  This patch drops the reference on the
group on file allocation failure.

Reported-by: Vegard Nossum <vegard.nossum@gmail.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 13:58:32 -08:00
..
dnotify fanotify: use both marks when possible 2010-07-28 10:18:55 -04:00
fanotify fanotify: Return EPERM when a process is not privileged 2010-08-27 19:59:42 -04:00
inotify inotify: stop kernel memory leak on file creation failure 2011-01-07 13:58:32 -08:00
fsnotify.c fsnotify: drop two useless bools in the fnsotify main loop 2010-08-27 21:42:11 -04:00
fsnotify.h fsnotify: remove global fsnotify groups lists 2010-07-28 10:18:54 -04:00
group.c fsnotify: remove global fsnotify groups lists 2010-07-28 10:18:54 -04:00
inode_mark.c Merge branch 'for-linus' of git://git.infradead.org/users/eparis/notify 2010-08-10 11:39:13 -07:00
Kconfig fanotify: disable fanotify syscalls 2010-10-11 18:15:28 -07:00
Makefile fsnotify: vfsmount marks generic functions 2010-07-28 09:58:57 -04:00
mark.c fsnotify: remove global fsnotify groups lists 2010-07-28 10:18:54 -04:00
notification.c Revert "fsnotify: store struct file not struct path" 2010-08-12 14:23:04 -07:00
vfsmount_mark.c fsnotify: use an explicit flag to indicate fsnotify_destroy_mark has been called 2010-07-28 10:18:52 -04:00