Changeset ac49f5d1 in mainline for uspace/srv/fs/fat/fat_ops.c


Ignore:
Timestamp:
2008-11-09T19:24:11Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a3d5f0
Parents:
913a821c
Message:

VFS_WRITE has two return arguments on success.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r913a821c rac49f5d1  
    684684                        nodep->dirty = true;    /* need to sync node */
    685685                }
     686                ipc_answer_2(rid, EOK, bytes, nodep->size);     
    686687                fat_node_put(nodep);
    687                 ipc_answer_1(rid, EOK, bytes); 
    688688                return;
    689689        } else {
     
    720720                nodep->size = pos + bytes;
    721721                nodep->dirty = true;            /* need to sync node */
     722                ipc_answer_2(rid, EOK, bytes, nodep->size);
    722723                fat_node_put(nodep);
    723                 ipc_answer_1(rid, EOK, bytes);
    724724                return;
    725725        }
Note: See TracChangeset for help on using the changeset viewer.