Changeset e6da6d5 in mainline


Ignore:
Timestamp:
2011-11-06T17:46:26Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c6d9d49
Parents:
41047bf
Message:

Improve error handling.

File:
1 edited

Legend:

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

    r41047bf re6da6d5  
    13771377                rc = ENOTSUP;
    13781378
    1379                 if (!async_data_read_receive(&callid, &len))
     1379                if (!async_data_read_receive(&callid, &len)) {
     1380                        async_answer_0(callid, rc);
    13801381                        goto exit;
     1382                }
    13811383
    13821384                (void) async_data_read_finalize(callid, mtab_ent->mp,
    13831385                    str_size(mtab_ent->mp));
    13841386
    1385                 if (!async_data_read_receive(&callid, &len))
     1387                if (!async_data_read_receive(&callid, &len)) {
     1388                        async_answer_0(callid, rc);
    13861389                        goto exit;
     1390                }
    13871391
    13881392                (void) async_data_read_finalize(callid, mtab_ent->opts,
    13891393                    str_size(mtab_ent->opts));
    13901394
    1391                 if (!async_data_read_receive(&callid, &len))
     1395                if (!async_data_read_receive(&callid, &len)) {
     1396                        async_answer_0(callid, rc);
    13921397                        goto exit;
     1398                }
    13931399
    13941400                (void) async_data_read_finalize(callid, mtab_ent->fs_name,
     
    13981404
    13991405                if (IPC_GET_IMETHOD(data) != VFS_IN_PING) {
    1400                         rc = ENOTSUP;
    14011406                        async_answer_0(callid, rc);
    14021407                        goto exit;
Note: See TracChangeset for help on using the changeset viewer.