commit | 10f0412f57f2a76a90eff4376f59cbb0a39e4e18 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Mon Aug 30 10:56:18 2010 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Tue Aug 31 10:26:26 2010 +0200 |
tree | 6e038c3816b5e1f61a498ed69cd730d5e4e832ef | |
parent | 750d857c682f4db60d14722d430c7ccc35070962 [diff] |
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 <robert.richter@amd.com>