]> git.ipfire.org Git - thirdparty/systemd.git/commit
mount: use get_mount_parameters_fragment() consistently
authorMichael Olbrich <m.olbrich@pengutronix.de>
Wed, 9 Dec 2015 15:02:10 +0000 (16:02 +0100)
committerMichael Olbrich <m.olbrich@pengutronix.de>
Mon, 6 Jun 2016 05:33:54 +0000 (07:33 +0200)
commitb294b79fb0f9749afa53624c8f06b145ea2c1525
tree2b7a08a43db3494136b6b321c7b02952592b5701
parentafb14803b34a9f4abf5265365aebe9a3132344c2
mount: use get_mount_parameters_fragment() consistently

There are multiple different checks, that all mean the same thing:
Is it a explicitly configured mount unit where actions need to be taken to
mount it, or is is just mirroring 'mountinfo':
'from_fragment' to set if fragment_path is not NULL, and
get_mount_parameters_fragment() just wraps that and returns fragment_path.

Use get_mount_parameters_fragment() everywhere to be consistent.
This is just a cleanup without functional change.
src/core/mount.c