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

Changeset 51774cd in mainline for uspace/srv/vfs/vfs_ops.c


Ignore:
Timestamp:
2017-04-04T21:31:40Z (5 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
2166728
Parents:
59f388a
Message:

Reintroduce aoff64_t file sizes into VFS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_ops.c

    r59f388a r51774cd  
    439439        async_exch_t *fs_exch = vfs_exchange_grab(file->node->fs_handle);
    440440       
    441         if (!read && file->append) {
    442                 if (file->node->size == -1)
    443                         file->node->size = vfs_node_get_size(file->node);
     441        if (!read && file->append)
    444442                pos = file->node->size;
    445         }
    446443       
    447444        /*
Note: See TracChangeset for help on using the changeset viewer.