summaryrefslogtreecommitdiff
path: root/fs/ocfs2/super.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2010-11-24 07:48:26 +0300
committerEric Paris <eparis@redhat.com>2010-12-08 00:14:23 +0300
commit26379198937fcc9bbe7be76be695d06df8334eaa (patch)
tree47be9bc5b202f5f5e1a94a08966d362787bb06ea /fs/ocfs2/super.c
parenta2ae4cc9a16e211c8a128ba10d22a85431f093ab (diff)
downloadlinux-26379198937fcc9bbe7be76be695d06df8334eaa.tar.xz
fanotify: do not leak user reference on allocation failure
If fanotify_init is unable to allocate a new fsnotify group it will return but will not drop its reference on the associated user struct. Drop that reference on error. Reported-by: Vegard Nossum <vegard.nossum@gmail.com> Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/ocfs2/super.c')
0 files changed, 0 insertions, 0 deletions