Changeset 4224ef7 in mainline for uspace/srv/sysman/sysman.c


Ignore:
Timestamp:
2019-08-06T18:18:37Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
e55741e
Parents:
dd5c623
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-11 16:50:40)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-06 18:18:37)
Message:

sysman: Add VFS FS server autostart

  • VFS autostart instrumentation removes explicit dependency on FS servers.
  • Compositor service properly named, it's now resolved as implicit dependency.

Conflicts:

boot/Makefile.common
uspace/lib/gui/window.c
uspace/srv/locsrv/locsrv.c
uspace/srv/vfs/vfs.c
uspace/srv/vfs/vfs_ops.c

File:
1 edited

Legend:

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

    rdd5c623 r4224ef7  
    160160/** Create and queue job for unit
    161161 *
    162  * @param[in]  callback  callback must explicitly delete reference to job
     162 * @param[in]  callback  (optional) callback must explicitly delete reference
     163 *                       to job
    163164 */
    164165int sysman_queue_job(unit_t *unit, unit_state_t target_state,
     
    170171        }
    171172
    172         job_add_ref(job);
    173         sysman_object_observer(job, callback, callback_arg);
     173        if (callback != NULL) {
     174                job_add_ref(job);
     175                sysman_object_observer(job, callback, callback_arg);
     176        }
    174177
    175178        job_add_ref(job);
Note: See TracChangeset for help on using the changeset viewer.