From: Robert Richter Date: Mon, 30 Aug 2010 08:56:18 +0000 (+0200) Subject: oprofile, x86: fix init_sysfs error handling X-Git-Tag: v2.6.36-rc4~73^2~3^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10f0412f57f2a76a90eff4376f59cbb0a39e4e18;p=pandora-kernel.git oprofile, x86: fix init_sysfs error handling On failure init_sysfs() might not properly free resources. The error code of the function is not checked. And, when reinitializing the exit function might be called twice. This patch fixes all this. Cc: stable@kernel.org Signed-off-by: Robert Richter --- Reading git-diff-tree failed