aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2019-03-04 16:48:54 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-03-23 13:19:53 +0100
commitf61b68e1c7745d142afa4c7cbab71731ddf7a982 (patch)
tree54b2c7aa80b2db1cd393aaf31ec63f74c63f3512 /tools/perf/scripts/python/export-to-postgresql.py
parent5ed7a8f6f97f2890d050caca2c15b870a45cb314 (diff)
md: Fix failed allocation of md_register_thread
commit e406f12dde1a8375d77ea02d91f313fb1a9c6aec upstream. mddev->sync_thread can be set to NULL on kzalloc failure downstream. The patch checks for such a scenario and frees allocated resources. Committer node: Added similar fix to raid5.c, as suggested by Guoqing. Cc: stable@vger.kernel.org # v3.16+ Acked-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Aditya Pakki <pakki001@umn.edu> Signed-off-by: Song Liu <songliubraving@fb.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions