Changeset f7017572 in mainline for uspace/srv/fs/tmpfs/tmpfs_ops.c


Ignore:
Timestamp:
2008-01-27T18:54:16Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
acfdcb0
Parents:
15b9970
Message:

VFS_WRITE and tmpfs_write fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/tmpfs/tmpfs_ops.c

    r15b9970 rf7017572  
    498498                /* The file size is not changing. */
    499499                (void) ipc_data_write_finalize(callid, dentry->data + pos, len);
    500                 ipc_answer_1(rid, EOK, len);
     500                ipc_answer_2(rid, EOK, len, dentry->size);
    501501                return;
    502502        }
     
    512512        if (!newdata) {
    513513                ipc_answer_0(callid, ENOMEM);
    514                 ipc_answer_1(rid, EOK, 0);
     514                ipc_answer_2(rid, EOK, 0, dentry->size);
    515515                return;
    516516        }
Note: See TracChangeset for help on using the changeset viewer.