tools lib api fs: No need to use PATH_MAX + 1
authorJiri Olsa <jolsa@kernel.org>
Mon, 5 Oct 2015 18:06:01 +0000 (20:06 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 5 Oct 2015 19:12:09 +0000 (16:12 -0300)
commitccb5597f9ba11b67b8aa8c6f4682675eceee0e21
tree3f6325507b36819074fe7d7d29cba2e24a13081b
parente3b0ac1b7a8a590440a2030e7d10d48c59ab8a2a
tools lib api fs: No need to use PATH_MAX + 1

Because there's no point, PATH_MAX is big enough.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1444068369-20978-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/fs/fs.c
tools/lib/api/fs/tracing_path.c