Changeset ceb890b in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2011-07-26T19:59:36Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
75aa59a
Parents:
aa865ee (diff), 5bb9907 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~jakub/helenos/fs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/fs/libfs.c

    raa865ee rceb890b  
    9393        rc = vfs_out_ops->mounted(devmap_handle, opts, &index, &size, &lnkcnt);
    9494
    95         if (rc == EOK)  // FIXME: size is 64-bit
    96                 async_answer_3(rid, EOK, index, size, lnkcnt);
     95        if (rc == EOK)
     96                async_answer_4(rid, EOK, index, LOWER32(size), UPPER32(size),
     97                    lnkcnt);
    9798        else
    9899                async_answer_0(rid, rc);
     
    156157        rc = vfs_out_ops->write(devmap_handle, index, pos, &wbytes, &nsize);
    157158
    158         if (rc == EOK)  // FIXME: nsize is 64-bit
    159                 async_answer_2(rid, EOK, wbytes, nsize);
     159        if (rc == EOK)
     160                async_answer_3(rid, EOK, wbytes, LOWER32(nsize), UPPER32(nsize));
    160161        else
    161162                async_answer_0(rid, rc);
     
    434435         * Do not release the FS node so that it stays in memory.
    435436         */
    436         async_answer_3(rid, rc, IPC_GET_ARG1(answer), IPC_GET_ARG2(answer),
    437             IPC_GET_ARG3(answer));
     437        async_answer_4(rid, rc, IPC_GET_ARG1(answer), IPC_GET_ARG2(answer),
     438            IPC_GET_ARG3(answer), IPC_GET_ARG4(answer));
    438439}
    439440
Note: See TracChangeset for help on using the changeset viewer.