Changeset 6ad454f in mainline for uspace/srv/vfs/vfs_ipc.c


Ignore:
Timestamp:
2017-12-08T21:03:35Z (8 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a8c7a6d
Parents:
9246016
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 06:01:16)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
Message:

Pass file handles separately from error codes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ipc.c

    r9246016 r6ad454f  
    280280{
    281281        bool high_fd = IPC_GET_ARG1(*request);
    282         int fd = vfs_op_wait_handle(high_fd);
    283         async_answer_1(rid, EOK, fd);
     282        int fd = -1;
     283        int rc = vfs_op_wait_handle(high_fd, &fd);
     284        async_answer_1(rid, rc, fd);
    284285}
    285286
Note: See TracChangeset for help on using the changeset viewer.