diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-13 23:43:04 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-06-16 17:06:56 -0400 |
commit | 52196e0b58ee0a8e78991862d49f49c7d7482d15 (patch) | |
tree | 61833b21d485de6fc33cbed0b6e4a40e1f210348 /src/libudev/.gitignore | |
parent | 58e3b53613cb148c88a7421c4e75e132cebb2629 (diff) |
nspawn: Detect the outer_cgver once, and pass that around
Yes, the relevant functions in cgroup-util actually do cache the values
with static variables. But passing it around as a value makes the flow
much nicer. The symmetry of having both the inner and outer cg versions
as a CGroupUnified enum makes the code much easier to grok; this could be
done with cg_version(), but I still think this is more readable.
Diffstat (limited to 'src/libudev/.gitignore')
0 files changed, 0 insertions, 0 deletions