Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 58d7280 in mainline


Ignore:
Timestamp:
2009-04-18T13:12:34Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
c08c355
Parents:
11f56c7
Message:

Return the actual error code instead of EREFUSED.

File:
1 edited

Legend:

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

    r11f56c7 r58d7280  
    273273        ipcarg_t retval = ipc_data_write_finalize(callid, mp, size);
    274274        if (retval != EOK) {
    275                 ipc_answer_0(rid, EREFUSED);
     275                ipc_answer_0(rid, retval);
    276276                free(mp);
    277277                return;
     
    307307        if (fs_name == NULL) {
    308308                ipc_answer_0(callid, ENOMEM);
    309                 ipc_answer_0(rid, EREFUSED);
     309                ipc_answer_0(rid, ENOMEM);
    310310                free(mp);
    311311                return;
     
    315315        retval = ipc_data_write_finalize(callid, fs_name, size);
    316316        if (retval != EOK) {
    317                 ipc_answer_0(rid, EREFUSED);
     317                ipc_answer_0(rid, retval);
    318318                free(mp);
    319319                free(fs_name);
Note: See TracChangeset for help on using the changeset viewer.