Changeset 72d120e in mainline for uspace/srv/locsrv/locsrv.c


Ignore:
Timestamp:
2014-06-16T20:17:44Z (11 years ago)
Author:
Agnieszka Tabaka <nufcia@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a78e4e
Parents:
9d653e3 (diff), 334bf28 (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:

Integrate from mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/locsrv/locsrv.c

    r9d653e3 r72d120e  
    320320                svc_categ_t *memb = list_get_instance(link, svc_categ_t,
    321321                    svc_link);
    322                 fibril_mutex_lock(&memb->cat->mutex);
     322                category_t *cat = memb->cat;
     323               
     324                fibril_mutex_lock(&cat->mutex);
    323325                category_remove_service(memb);
    324                 fibril_mutex_unlock(&memb->cat->mutex);
     326                fibril_mutex_unlock(&cat->mutex);
    325327        }
    326328       
     
    13301332
    13311333        cat = category_new("mouse");
     1334        categ_dir_add_cat(&cdir, cat);
     1335
     1336        cat = category_new("led");
    13321337        categ_dir_add_cat(&cdir, cat);
    13331338
Note: See TracChangeset for help on using the changeset viewer.