Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/volsrv/part.c

    r48b8928 rca127f37  
    5252#include "types/part.h"
    5353#include "volume.h"
     54#include "volsrv.h"
    5455
    5556static errno_t vol_part_add_locked(vol_parts_t *, service_id_t);
     
    403404        part->cur_mp_auto = mp_auto;
    404405
     406        if (str_cmp(mp, "/w") == 0) {
     407                log_msg(LOG_DEFAULT, LVL_NOTE, "Mounted system volume - "
     408                    "loading additional configuration.");
     409                rc = vol_volumes_merge_to(part->parts->volumes,
     410                    vol_cfg_file);
     411                if (rc != EOK) {
     412                        log_msg(LOG_DEFAULT, LVL_ERROR, "Error loading "
     413                            "additional configuration.");
     414                        return rc;
     415                }
     416        }
     417
    405418        return rc;
    406419}
Note: See TracChangeset for help on using the changeset viewer.