summaryrefslogtreecommitdiff
path: root/mm/zsmalloc.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-07-01 17:21:59 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-07-19 05:14:14 +0300
commit8526bafc149ee4d0df5eabca0f440164ec705c99 (patch)
tree74092398a1f1c140272b778df9cad9cfd35868dd /mm/zsmalloc.c
parent4b4cd50319127b3b606b8aaf3426d8972df1666a (diff)
downloadlinux-8526bafc149ee4d0df5eabca0f440164ec705c99.tar.xz
perf test sdt: Handle realpath() failure
It can return NULL, in which case we should bail out and remove the directory created with mkdtemp(), which is stored in the "__tempdir" variable, not in "tempdir". Cc: Masami Hiramatsu <mhiramat@kernel.org> Fixes: 8e5dc848356e ("perf test: Add a test case for SDT event") Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'mm/zsmalloc.c')
0 files changed, 0 insertions, 0 deletions