Changeset feeac0d in mainline for uspace/srv/fs/exfat
- Timestamp:
- 2013-09-10T16:32:35Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4982d87
- Parents:
- e8d6ce2
- Location:
- uspace/srv/fs/exfat
- Files:
-
- 2 edited
-
exfat_idx.c (modified) (1 diff)
-
exfat_ops.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_idx.c
re8d6ce2 rfeeac0d 88 88 static unused_t *unused_find(service_id_t service_id, bool lock) 89 89 { 90 unused_t *u;91 92 90 if (lock) 93 91 fibril_mutex_lock(&unused_lock); 94 92 95 list_foreach(unused_list, l) { 96 u = list_get_instance(l, unused_t, link); 93 list_foreach(unused_list, link, unused_t, u) { 97 94 if (u->service_id == service_id) 98 95 return u; -
uspace/srv/fs/exfat/exfat_ops.c
re8d6ce2 rfeeac0d 155 155 static int exfat_node_fini_by_service_id(service_id_t service_id) 156 156 { 157 exfat_node_t *nodep;158 157 int rc; 159 158 … … 166 165 restart: 167 166 fibril_mutex_lock(&ffn_mutex); 168 list_foreach(ffn_list, lnk) { 169 nodep = list_get_instance(lnk, exfat_node_t, ffn_link); 167 list_foreach(ffn_list, ffn_link, exfat_node_t, nodep) { 170 168 if (!fibril_mutex_trylock(&nodep->lock)) { 171 169 fibril_mutex_unlock(&ffn_mutex);
Note:
See TracChangeset
for help on using the changeset viewer.
