]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: avoid duplicated call to get cgroup path (#5404)
authorNamhyung Kim <namhyung@gmail.com>
Thu, 23 Feb 2017 12:04:57 +0000 (21:04 +0900)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Thu, 23 Feb 2017 12:04:57 +0000 (13:04 +0100)
commitb4e7bdcb535e52632d63be819b7d1cf908223f1e
tree2579a0fd269ce906089cd394ff7ed7ebcc0a501d
parent4bbc2817f7b0f751675db240468be8f17c157fd5
journal: avoid duplicated call to get cgroup path (#5404)

The cg_pid_get_path_shifted() is called twice during
server_dispatch_message().  We can get rid of the second by passing the
path to dispatch_message_real().
src/journal/journald-server.c