diff options
author | Djalal Harouni <tixxdz@opendz.org> | 2016-09-25 11:25:00 +0200 |
---|---|---|
committer | Djalal Harouni <tixxdz@opendz.org> | 2016-09-25 11:25:00 +0200 |
commit | 2652c6c10394623b2c3e2ed5d4616c85918d140c (patch) | |
tree | 25196e4944d4f70145f1546534f5e1f8e68419bb /CODING_STYLE | |
parent | 11a30cec2a9b6168b024c06720ad238dd1390794 (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 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions