Changeset af92309 in mainline for uspace/srv/sysman/connection_ctl.c
- Timestamp:
- 2019-08-07T09:33:04Z (5 years ago)
- Children:
- 9532981
- Parents:
- 918ac9b
- git-author:
- Michal Koutný <xm.koutny+hos@…> (2015-11-02 22:12:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-07 09:33:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/connection_ctl.c
r918ac9b raf92309 33 33 #include <str.h> 34 34 35 #include " configuration.h"35 #include "repo.h" 36 36 #include "connection_ctl.h" 37 37 #include "job.h" … … 79 79 80 80 // TODO this is connection fibril, UNSYNCHRONIZED access to units! 81 unit_t *unit = configuration_find_unit_by_name(unit_name);81 unit_t *unit = repo_find_unit_by_name(unit_name); 82 82 if (unit == NULL) { 83 83 sysman_log(LVL_NOTE, "Unit '%s' not found.", unit_name); … … 180 180 181 181 // TODO UNSYNCHRONIZED access to units! 182 unit_t *u = configuration_find_unit_by_handle(IPC_GET_ARG1(*icall));182 unit_t *u = repo_find_unit_by_handle(IPC_GET_ARG1(*icall)); 183 183 if (u == NULL) { 184 184 async_answer_0(callid, ENOENT); … … 196 196 { 197 197 // TODO UNSYNCHRONIZED access to units! 198 unit_t *u = configuration_find_unit_by_handle(IPC_GET_ARG1(*icall));198 unit_t *u = repo_find_unit_by_handle(IPC_GET_ARG1(*icall)); 199 199 if (u == NULL) { 200 200 async_answer_0(iid, ENOENT);
Note:
See TracChangeset
for help on using the changeset viewer.