summaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-02-07 15:00:27 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-18 08:07:18 -0800
commit25d41d8455ec1ee7433e146ee94436dc4195f420 (patch)
tree2f5bc09d4ac7024d08fa8c1c0988171d8b792fcb /mm/hugetlb.c
parentb38360a284f8acab4ae431b387c05a4e19ff4129 (diff)
downloadop-kernel-dev-25d41d8455ec1ee7433e146ee94436dc4195f420.zip
op-kernel-dev-25d41d8455ec1ee7433e146ee94436dc4195f420.tar.gz
debugfs: Fix filesystem reference counting on debugfs_remove() failure
When __debugfs_remove() fails (because simple_rmdir() fails e.g. when a directory is not empty), we must not decrement use count of the filesystem as nothing was in fact deleted. This fixes use after free caused by debugfs in some cases. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud