Changes in uspace/lib/fs/libfs.c [feeac0d:2d884ab] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fs/libfs.c
rfeeac0d r2d884ab 882 882 883 883 fibril_mutex_lock(&instances_mutex); 884 list_foreach(instances_list, link, fs_instance_t, cur) { 884 list_foreach(instances_list, link) { 885 fs_instance_t *cur = list_get_instance(link, fs_instance_t, 886 link); 887 885 888 if (cur->service_id == service_id) { 886 889 fibril_mutex_unlock(&instances_mutex); … … 905 908 { 906 909 fibril_mutex_lock(&instances_mutex); 907 list_foreach(instances_list, link, fs_instance_t, inst) { 910 list_foreach(instances_list, link) { 911 fs_instance_t *inst = list_get_instance(link, fs_instance_t, 912 link); 913 908 914 if (inst->service_id == service_id) { 909 915 *idp = inst->data; … … 919 925 { 920 926 fibril_mutex_lock(&instances_mutex); 921 list_foreach(instances_list, link, fs_instance_t, inst) { 927 list_foreach(instances_list, link) { 928 fs_instance_t *inst = list_get_instance(link, fs_instance_t, 929 link); 930 922 931 if (inst->service_id == service_id) { 923 932 list_remove(&inst->link);
Note:
See TracChangeset
for help on using the changeset viewer.