Changes in / [d42976c:4cac2d69] in mainline


Ignore:
Location:
uspace/srv/fs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_idx.c

    rd42976c r4cac2d69  
    164164                assert((keys == 1) || (keys == 3));
    165165        }
    166 
    167         return 0;
    168166}
    169167
     
    221219                assert((keys == 1) || (keys == 2));
    222220        }
    223 
    224         return 0;
    225221}
    226222
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    rd42976c r4cac2d69  
    168168                    (nodep->index == key[NODES_KEY_INDEX]));
    169169        default:
    170                 assert((keys == 1) || (keys == 2));
    171         }
    172 
    173         return 0;
     170                abort();
     171        }
    174172}
    175173
     
    441439{
    442440        dev_handle_t dev_handle = (dev_handle_t) IPC_GET_ARG1(*request);
    443         fs_node_t *rootfn;
    444         int rc;
    445441       
    446         /* Accept the mount options. */
     442        /* Accept the mount options */
    447443        char *opts;
    448         rc = async_data_write_accept((void **) &opts, true, 0, 0, 0, NULL);
     444        int rc = async_data_write_accept((void **) &opts, true, 0, 0, 0, NULL);
     445       
    449446        if (rc != EOK) {
    450447                ipc_answer_0(rid, rc);
    451                 return;
    452         }
    453 
    454         /* Check if this device is not already mounted. */
    455         rc = tmpfs_root_get(&rootfn, dev_handle);
    456         if ((rc == EOK) && (rootfn)) {
    457                 (void) tmpfs_node_put(rootfn);
    458                 free(opts);
    459                 ipc_answer_0(rid, EEXIST);
    460448                return;
    461449        }
     
    468456        }
    469457
     458        fs_node_t *rootfn;
    470459        rc = tmpfs_root_get(&rootfn, dev_handle);
    471460        assert(rc == EOK);
Note: See TracChangeset for help on using the changeset viewer.