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