Changeset 015b147 in mainline for uspace/srv/sysman/units/unit_cfg.c


Ignore:
Timestamp:
2019-08-17T13:52:32Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
be07995
Parents:
31ef7c1
git-author:
Michal Koutný <xm.koutny+hos@…> (2016-01-10 17:17:19)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:52:32)
Message:

sysman: Refactored unit repo iteration and locking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/sysman/units/unit_cfg.c

    r31ef7c1 r015b147  
    8282        }
    8383       
    84         unit_t *u = repo_find_unit_by_name(unit_name);
     84        /* We parse files as part of ongoing repo transaction (locked). */
     85        unit_t *u = repo_find_unit_by_name_unsafe(unit_name);
    8586        if (u != NULL) {
    8687                // TODO allow updating configuration of existing unit
Note: See TracChangeset for help on using the changeset viewer.