[PATCH AUTOSEL 5.4 1/2] perf data: Fix error return code in perf_data__create_dir()