]> git.ipfire.org Git - thirdparty/systemd.git/commit
loop-util: call loop_device_make_internal() at the right place 21061/head
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2021 07:57:16 +0000 (09:57 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2021 07:57:16 +0000 (09:57 +0200)
commit0193b93eb5d4c9bb760f0e2727b4e698c392a47f
tree6e915510b97d4d6b7a923f662c9f417a5f26f7c0
parentaa4d3aa3ef05f64729cce1dd87ce9f7a237ede1a
loop-util: call loop_device_make_internal() at the right place

The whole reason loop_device_make_internal() exists (as opposed to just
loop_device_make()) is to avoid mangling the loop flags value/call
getenv twice. Hence let's actually call it when we already mangled the
flags value.
src/shared/loop-util.c