Ignore:
File:
1 edited

Legend:

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

    r44ecf89 r781408e  
    625625}
    626626
     627static int cdfs_size_block(service_id_t service_id, uint32_t *size)
     628{
     629        *size = BLOCK_SIZE;
     630
     631        return EOK;
     632}
     633
     634static int cdfs_total_block_count(service_id_t service_id, uint64_t *count)
     635{
     636        *count = 0;
     637       
     638        return EOK;
     639}
     640
     641static int cdfs_free_block_count(service_id_t service_id, uint64_t *count)
     642{
     643        *count = 0;
     644       
     645        return EOK;
     646}
     647
    627648libfs_ops_t cdfs_libfs_ops = {
    628649        .root_get = cdfs_root_get,
     
    641662        .is_directory = cdfs_is_directory,
    642663        .is_file = cdfs_is_file,
    643         .service_get = cdfs_service_get
     664        .service_get = cdfs_service_get,
     665        .size_block = cdfs_size_block,
     666        .total_block_count = cdfs_total_block_count,
     667        .free_block_count = cdfs_free_block_count
    644668};
    645669
Note: See TracChangeset for help on using the changeset viewer.