Changeset 18525c5 in mainline


Ignore:
Timestamp:
2007-10-04T13:00:10Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1c38445
Parents:
116d3f6f
Message:

Tiny refinement of if-else_if-else statement in vfs_register.c.

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/async.c

    r116d3f6f r18525c5  
    519519        if ((callid & IPC_CALLID_NOTIFICATION)) {
    520520                in_interrupt_handler = 1;
    521                 (*interrupt_received)(callid,call);
     521                (*interrupt_received)(callid, call);
    522522                in_interrupt_handler = 0;
    523523                return;
  • uspace/srv/vfs/vfs.c

    r116d3f6f r18525c5  
    9494                case VFS_REGISTER:
    9595                        vfs_register(callid, &call);
     96                        keep_on_going = false;
    9697                        break;
    9798                case VFS_MOUNT:
  • uspace/srv/vfs/vfs_mount.c

    r116d3f6f r18525c5  
    218218        vfs_release_phone(phone);
    219219
    220         if ((rc1 == EOK) && (rc2 == EOK))
    221                 ipc_answer_fast(rid, EOK, 0, 0);
    222         else if (rc1 != EOK)
     220        if (rc2 == EOK)
    223221                ipc_answer_fast(rid, rc1, 0, 0);
     222        else if (rc1 == EOK)
     223                ipc_answer_fast(rid, rc2, 0, 0);
    224224        else
    225                 ipc_answer_fast(rid, rc2, 0, 0);
     225                ipc_answer_fast(rid, rc1, 0, 0);
    226226}
    227227
Note: See TracChangeset for help on using the changeset viewer.