Changeset 80743a1 in mainline for uspace/app/init/init.c


Ignore:
Timestamp:
2017-04-01T06:49:10Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b19e892
Parents:
6e5562a
Message:

Rename (un)mount to vfs_(un)mount_path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r6e5562a r80743a1  
    127127                opts = "restore";
    128128       
    129         int rc = mount(fstype, ROOT_MOUNT_POINT, ROOT_DEVICE, opts,
     129        int rc = vfs_mount_path(ROOT_MOUNT_POINT, fstype, ROOT_DEVICE, opts,
    130130            IPC_FLAG_BLOCKING, 0);
    131131        if (rc == EOK)
     
    146146static bool mount_locfs(void)
    147147{
    148         int rc = mount(LOCFS_FS_TYPE, LOCFS_MOUNT_POINT, "", "",
     148        int rc = vfs_mount_path(LOCFS_MOUNT_POINT, LOCFS_FS_TYPE, "", "",
    149149            IPC_FLAG_BLOCKING, 0);
    150150        return mount_report("Location service filesystem", LOCFS_MOUNT_POINT,
     
    302302static bool mount_tmpfs(void)
    303303{
    304         int rc = mount(TMPFS_FS_TYPE, TMPFS_MOUNT_POINT, "", "", 0, 0);
     304        int rc = vfs_mount_path(TMPFS_MOUNT_POINT, TMPFS_FS_TYPE, "", "", 0, 0);
    305305        return mount_report("Temporary filesystem", TMPFS_MOUNT_POINT,
    306306            TMPFS_FS_TYPE, NULL, rc);
Note: See TracChangeset for help on using the changeset viewer.