Changeset e89a06a in mainline for uspace/srv/bd/vbd/disk.c


Ignore:
Timestamp:
2018-07-06T22:13:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be0f5e4
Parents:
6419c6e
Message:

Encapsulate partitions list in volume server. (Global state is not good coding practice.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/vbd/disk.c

    r6419c6e re89a06a  
    447447}
    448448
    449 static void vbds_disk_cat_change_cb(void)
     449static void vbds_disk_cat_change_cb(void *arg)
    450450{
    451451        (void) vbds_disks_check_new();
     
    456456        errno_t rc;
    457457
    458         rc = loc_register_cat_change_cb(vbds_disk_cat_change_cb);
     458        rc = loc_register_cat_change_cb(vbds_disk_cat_change_cb, NULL);
    459459        if (rc != EOK) {
    460460                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering callback "
Note: See TracChangeset for help on using the changeset viewer.