aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorEric Paris <[email protected]>2010-11-24 04:48:26 +0000
committerEric Paris <[email protected]>2010-12-07 21:14:23 +0000
commit26379198937fcc9bbe7be76be695d06df8334eaa (patch)
tree47be9bc5b202f5f5e1a94a08966d362787bb06ea /fs/ubifs/commit.c
parentinotify: stop kernel memory leak on file creation failure (diff)
downloadkernel-26379198937fcc9bbe7be76be695d06df8334eaa.tar.gz
kernel-26379198937fcc9bbe7be76be695d06df8334eaa.zip
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 <[email protected]> Signed-off-by: Eric Paris <[email protected]>
Diffstat (limited to 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions