Changeset 286286c in mainline


Ignore:
Timestamp:
2011-09-23T15:56:23Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1ab4aca, 6fe0bf8d
Parents:
4979403
Message:

Cstyle fixes and cleanup.

Location:
uspace
Files:
4 edited

Legend:

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

    r4979403 r286286c  
    107107        if (rc != EOK) {
    108108                printf("Unable to mount %s filesystem to %s on %s (rc=%d)\n",
    109                         t_argv[1], t_argv[2], t_argv[3], rc);
     109                    t_argv[1], t_argv[2], t_argv[3], rc);
    110110                return CMD_FAILURE;
    111111        }
  • uspace/lib/c/generic/vfs/vfs.c

    r4979403 r286286c  
    182182        sysarg_t rc_orig;
    183183        aid_t req = async_send_3(exch, VFS_IN_MOUNT, service_id, flags,
    184                         instance, NULL);
     184            instance, NULL);
    185185        sysarg_t rc = async_data_write_start(exch, (void *) mpa, mpa_size);
    186186        if (rc != EOK) {
  • uspace/srv/vfs/vfs_ops.c

    r4979403 r286286c  
    146146
    147147                        rindex = (fs_index_t) IPC_GET_ARG1(answer);
    148                         rsize = (aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer), IPC_GET_ARG3(answer));
     148                        rsize = (aoff64_t) MERGE_LOUP32(IPC_GET_ARG2(answer),
     149                            IPC_GET_ARG3(answer));
    149150                        rlnkcnt = (unsigned) IPC_GET_ARG4(answer);
    150151                       
     
    280281        unsigned int instance = IPC_GET_ARG3(*request);
    281282
    282         /*
    283          * For now, don't make use of ARG3, but it can be used to
    284          * carry mount options in the future.
    285          */
    286        
    287283        /* We want the client to send us the mount point. */
    288284        char *mp;
  • uspace/srv/vfs/vfs_register.c

    r4979403 r286286c  
    155155         */
    156156        if (fs_name_to_handle(fs_info->vfs_info.instance,
    157                         fs_info->vfs_info.name, false)) {
     157            fs_info->vfs_info.name, false)) {
    158158                /*
    159159                 * We already register a fs like this.
     
    308308                fs_info_t *fs = list_get_instance(cur, fs_info_t, fs_link);
    309309                if (str_cmp(fs->vfs_info.name, name) == 0 &&
    310                                 instance == fs->vfs_info.instance) {
     310                    instance == fs->vfs_info.instance) {
    311311                        handle = fs->fs_handle;
    312312                        break;
Note: See TracChangeset for help on using the changeset viewer.