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

Changeset 758f8d5 in mainline for uspace/srv/fs/cdfs/cdfs_ops.c


Ignore:
Timestamp:
2013-09-11T21:53:36Z (7 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
master
Children:
e1ec5a2
Parents:
1e371cf (diff), 9dbdda9 (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 the df branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/cdfs/cdfs_ops.c

    r1e371cf r758f8d5  
    619619}
    620620
     621static int cdfs_size_block(service_id_t service_id, uint32_t *size)
     622{
     623        *size = BLOCK_SIZE;
     624
     625        return EOK;
     626}
     627
     628static int cdfs_total_block_count(service_id_t service_id, uint64_t *count)
     629{
     630        *count = 0;
     631       
     632        return EOK;
     633}
     634
     635static int cdfs_free_block_count(service_id_t service_id, uint64_t *count)
     636{
     637        *count = 0;
     638       
     639        return EOK;
     640}
     641
    621642libfs_ops_t cdfs_libfs_ops = {
    622643        .root_get = cdfs_root_get,
     
    635656        .is_directory = cdfs_is_directory,
    636657        .is_file = cdfs_is_file,
    637         .service_get = cdfs_service_get
     658        .service_get = cdfs_service_get,
     659        .size_block = cdfs_size_block,
     660        .total_block_count = cdfs_total_block_count,
     661        .free_block_count = cdfs_free_block_count
    638662};
    639663
Note: See TracChangeset for help on using the changeset viewer.