Changeset 61bc901 in mainline for uspace/srv/fs/tmpfs/tmpfs_dump.c


Ignore:
Timestamp:
2008-08-07T21:20:54Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a61d1fc3
Parents:
d2c1fd5
Message:

Add a comment to libfs_blockread() and change type from size_t to off_t at
various places.

File:
1 edited

Legend:

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

    rd2c1fd5 r61bc901  
    6060
    6161static bool
    62 tmpfs_restore_recursion(int phone, void *block, size_t *bufpos, size_t *buflen,
    63     size_t *pos, tmpfs_dentry_t *parent)
     62tmpfs_restore_recursion(int phone, void *block, off_t *bufpos, size_t *buflen,
     63    off_t *pos, tmpfs_dentry_t *parent)
    6464{
    6565        struct rdentry entry;
     
    183183                goto error;
    184184       
    185         size_t bufpos = 0;
     185        off_t bufpos = 0;
    186186        size_t buflen = 0;
    187         size_t pos = 0;
     187        off_t pos = 0;
    188188       
    189189        char tag[6];
Note: See TracChangeset for help on using the changeset viewer.