aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2013-05-10 14:37:14 +0100
committerAlasdair G Kergon <agk@redhat.com>2013-05-10 14:37:14 +0100
commitfa4d683af3693863bec761e2761a07e4c1351f86 (patch)
tree3f3045ed3325ba54673177fb9e4f95892471b252 /tools/perf/scripts/python/export-to-postgresql.py
parentdm stripe: fix regression in stripe_width calculation (diff)
downloadlinux-dev-fa4d683af3693863bec761e2761a07e4c1351f86.tar.xz
linux-dev-fa4d683af3693863bec761e2761a07e4c1351f86.zip
dm cache: fix error return code in cache_create
Return -ENOMEM if memory allocation fails in cache_create instead of 0 (to avoid NULL pointer dereference). Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Cc: stable@vger.kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions