Changes in uspace/lib/block/block.c [b7adc22:4e00f87] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/block/block.c
rb7adc22 r4e00f87 37 37 */ 38 38 39 #include "../../srv/vfs/vfs.h" 39 40 #include <ipc/loc.h> 40 41 #include <ipc/services.h> … … 92 93 fibril_mutex_lock(&dcl_lock); 93 94 94 list_foreach(dcl, link, devcon_t, devcon) { 95 list_foreach(dcl, cur) { 96 devcon_t *devcon = list_get_instance(cur, devcon_t, link); 95 97 if (devcon->service_id == service_id) { 96 98 fibril_mutex_unlock(&dcl_lock); … … 122 124 123 125 fibril_mutex_lock(&dcl_lock); 124 list_foreach(dcl, link, devcon_t, d) { 126 list_foreach(dcl, cur) { 127 devcon_t *d = list_get_instance(cur, devcon_t, link); 125 128 if (d->service_id == service_id) { 126 129 fibril_mutex_unlock(&dcl_lock);
Note:
See TracChangeset
for help on using the changeset viewer.