summaryrefslogtreecommitdiff
path: root/src/login/logind-utmp.c
diff options
context:
space:
mode:
authorDjalal Harouni <tixxdz@opendz.org>2016-09-25 11:25:00 +0200
committerDjalal Harouni <tixxdz@opendz.org>2016-09-25 11:25:00 +0200
commit2652c6c10394623b2c3e2ed5d4616c85918d140c (patch)
tree25196e4944d4f70145f1546534f5e1f8e68419bb /src/login/logind-utmp.c
parent11a30cec2a9b6168b024c06720ad238dd1390794 (diff)
core:namespace: simplify mount calculation
Move out mount calculation on its own function. Actually the logic is smart enough to later drop nop and duplicates mounts, this change improves code readability. --- src/core/namespace.c | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-)
Diffstat (limited to 'src/login/logind-utmp.c')
0 files changed, 0 insertions, 0 deletions