Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5bb9907 in mainline for uspace/lib/fs/libfs.c


Ignore:
Timestamp:
2011-07-26T19:54:53Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
867e2555, ceb890b
Parents:
7eb0fed8
Message:

Fix VFS_OUT_READ and VFS_OUT_WRITE with respect to 64-bit file sizes.

File:
1 edited

Legend:

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

    r7eb0fed8 r5bb9907  
    157157        rc = vfs_out_ops->write(devmap_handle, index, pos, &wbytes, &nsize);
    158158
    159         if (rc == EOK)  // FIXME: nsize is 64-bit
    160                 async_answer_2(rid, EOK, wbytes, nsize);
     159        if (rc == EOK)
     160                async_answer_3(rid, EOK, wbytes, LOWER32(nsize), UPPER32(nsize));
    161161        else
    162162                async_answer_0(rid, rc);
Note: See TracChangeset for help on using the changeset viewer.