Changeset dd0c8a0 in mainline for uspace/srv/vfs/vfs_register.c


Ignore:
Timestamp:
2013-09-29T06:56:33Z (12 years ago)
Author:
Beniamino Galvani <b.galvani@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9bd960d
Parents:
3deb0155 (diff), 13be2583 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_register.c

    r3deb0155 rdd0c8a0  
    260260        fibril_mutex_lock(&fs_list_lock);
    261261       
    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) {
    265263                if (fs->fs_handle == handle) {
    266264                        fibril_mutex_unlock(&fs_list_lock);
     
    305303                fibril_mutex_lock(&fs_list_lock);
    306304       
    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) {
    309306                if (str_cmp(fs->vfs_info.name, name) == 0 &&
    310307                    instance == fs->vfs_info.instance) {
     
    332329       
    333330        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) {
    336332                if (fs->fs_handle == handle) {
    337333                        info = &fs->vfs_info;
Note: See TracChangeset for help on using the changeset viewer.