Changeset ac49f5d1 in mainline


Ignore:
Timestamp:
2008-11-09T19:24:11Z (16 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.

Location:
uspace/srv/fs/fat
Files:
2 edited

Legend:

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

    r913a821c rac49f5d1  
    421421 * @param lastc         Last cluster which will remain in the node. If this
    422422 *                      argument is FAT_CLST_RES0, then all clusters will
    423  *                      be choped off.
     423 *                      be chopped off.
    424424 */
    425425void fat_chop_clusters(fat_bs_t *bs, fat_node_t *nodep, fat_cluster_t lastc)
  • 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.