Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/cmds/modules/mount/mount.c

    r6afc9d7 r9d58539  
    7272        int rc;
    7373
    74         vfs_get_mtab_list(&mtab_list);
     74        get_mtab_list(&mtab_list);
    7575
    76         list_foreach(mtab_list, link, mtab_ent_t, mtab_ent) {
     76        list_foreach(mtab_list, cur) {
     77                mtab_ent_t *mtab_ent = list_get_instance(cur, mtab_ent_t,
     78                    link);
     79
    7780                if (old_ent)
    7881                        free(old_ent);
     
    117120        argc = cli_count_args(argv);
    118121
    119         for (c = 0, optreset = 1, optind = 0, opt_ind = 0; c != -1;) {
     122        for (c = 0, optind = 0, opt_ind = 0; c != -1;) {
    120123                c = getopt_long(argc, argv, "i:h", long_options, &opt_ind);
    121124                switch (c) {
     
    150153                mopts = t_argv[4];
    151154
    152         rc = vfs_mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);
     155        rc = mount(t_argv[1], t_argv[2], dev, mopts, 0, instance);
    153156        if (rc != EOK) {
    154157                printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
Note: See TracChangeset for help on using the changeset viewer.