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