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