[systemd-devel] [PATCH 2/7] mount: don't pull in network.target, just order after it
Tom Gundersen
teg at jklm.no
Tue Sep 10 09:48:00 PDT 2013
On Tue, Sep 10, 2013 at 6:40 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Fri, 23.08.13 15:09, Tom Gundersen (teg at jklm.no) wrote:
>
>> ---
>> src/core/mount.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>.
>> diff --git a/src/core/mount.c b/src/core/mount.c
>> index c7d29b0..7838e60 100644
>> --- a/src/core/mount.c
>> +++ b/src/core/mount.c
>> @@ -476,7 +476,7 @@ static int mount_add_default_dependencies(Mount *m) {
>> }
>>
>> if (online) {
>> - r = unit_add_two_dependencies_by_name(UNIT(m), UNIT_WANTS, UNIT_AFTER, online, NULL, true);
>> + r = unit_add_dependency_by_name(UNIT(m), UNIT_AFTER, online, NULL, true);
>> if (r < 0)
>> return r;
>> }
>
> Hmm, no.
You are right. I dropped the patch.
-t
More information about the systemd-devel
mailing list