Changeset 3a4b3ba in mainline


Ignore:
Timestamp:
2010-11-25T23:17:11Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4b9a410, 7329e6a
Parents:
8df8415
Message:

Fix a regression introduced by changeset martin@….

File:
1 edited

Legend:

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

    r8df8415 r3a4b3ba  
    837837        ipc_call_t answer;
    838838        if (read) {
    839                 if (file->append)
    840                         file->pos = file->node->size;
    841                
    842839                rc = async_data_read_forward_3_1(fs_phone, VFS_OUT_READ,
    843840                    file->node->devmap_handle, file->node->index, file->pos,
    844841                    &answer);
    845842        } else {
     843                if (file->append)
     844                        file->pos = file->node->size;
     845               
    846846                rc = async_data_write_forward_3_1(fs_phone, VFS_OUT_WRITE,
    847847                    file->node->devmap_handle, file->node->index, file->pos,
Note: See TracChangeset for help on using the changeset viewer.