aboutsummaryrefslogtreecommitdiff
path: root/fs/direct-io.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-08-30 10:56:18 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-20 13:36:31 -0700
commitad8096c8a02ca8340cdeb34ab0f368c97adffd1f (patch)
treebc4b52fcafc9e80cbd467c0219f9313c335fc51b /fs/direct-io.c
parent3f0cfc091f8593dc2ccb282d8155225fd56b03f1 (diff)
oprofile, x86: fix init_sysfs error handling
commit 10f0412f57f2a76a90eff4376f59cbb0a39e4e18 upstream. 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. Signed-off-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions