Changeset feeac0d in mainline for uspace/srv/vfs
- 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/vfs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs_ops.c
re8d6ce2 rfeeac0d 548 548 int found = 0; 549 549 550 list_foreach(mtab_list, cur) { 551 mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t, 552 link); 553 550 list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) { 554 551 if (str_cmp(mtab_ent->mp, mp) == 0) { 555 552 list_remove(&mtab_ent->link); … … 1371 1368 async_answer_1(callid, EOK, mtab_size); 1372 1369 1373 list_foreach(mtab_list, cur) { 1374 mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t, 1375 link); 1376 1370 list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) { 1377 1371 rc = ENOTSUP; 1378 1372 -
uspace/srv/vfs/vfs_register.c
re8d6ce2 rfeeac0d 260 260 fibril_mutex_lock(&fs_list_lock); 261 261 262 list_foreach(fs_list, cur) { 263 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 264 262 list_foreach(fs_list, fs_link, fs_info_t, fs) { 265 263 if (fs->fs_handle == handle) { 266 264 fibril_mutex_unlock(&fs_list_lock); … … 305 303 fibril_mutex_lock(&fs_list_lock); 306 304 307 list_foreach(fs_list, cur) { 308 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 305 list_foreach(fs_list, fs_link, fs_info_t, fs) { 309 306 if (str_cmp(fs->vfs_info.name, name) == 0 && 310 307 instance == fs->vfs_info.instance) { … … 332 329 333 330 fibril_mutex_lock(&fs_list_lock); 334 list_foreach(fs_list, cur) { 335 fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link); 331 list_foreach(fs_list, fs_link, fs_info_t, fs) { 336 332 if (fs->fs_handle == handle) { 337 333 info = &fs->vfs_info;
Note:
See TracChangeset
for help on using the changeset viewer.