summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2010-05-12 15:34:07 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-26 14:32:08 -0700
commitbd2000ae380153185705f2e80f2c676c1a5337e6 (patch)
tree7de77af32445fc14f39a7764af90c95ba385136e /fs/buffer.c
parent93ff009d2e74e6983fddb4674d339a9a6d09715c (diff)
downloadlwn-bd2000ae380153185705f2e80f2c676c1a5337e6.tar.gz
lwn-bd2000ae380153185705f2e80f2c676c1a5337e6.zip
inotify: don't leak user struct on inotify release
commit b3b38d842fa367d862b83e7670af4e0fd6a80fc0 upstream. inotify_new_group() receives a get_uid-ed user_struct and saves the reference on group->inotify_data.user. The problem is that free_uid() is never called on it. Issue seem to be introduced by 63c882a0 (inotify: reimplement inotify using fsnotify) after 2.6.30. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Eric Paris <eparis@parisplace.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions