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

Changeset 963ea42 in mainline


Ignore:
Timestamp:
2011-08-02T19:57:16Z (10 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master
Children:
04a153f
Parents:
0bd5ff1
Message:

exFAT: minor fix in exfat_directory_read_file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_directory.c

    r0bd5ff1 r963ea42  
    187187        int rc, i;
    188188        size_t offset = 0;
     189        aoff64_t start_pos = 0;
    189190       
    190191        rc = exfat_directory_find(di, EXFAT_DENTRY_FILE, &d);
    191192        if (rc != EOK)
    192193                return rc;
     194        start_pos = di->pos;
    193195        *df = d->file;
    194196
     
    221223                return rc;
    222224
     225        exfat_directory_seek(di, start_pos);
    223226        return EOK;
    224227}
Note: See TracChangeset for help on using the changeset viewer.