Changeset 781408e in mainline for uspace/srv/fs/cdfs/cdfs_ops.c


Ignore:
Timestamp:
2013-08-02T17:17:08Z (11 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3432ddb
Parents:
38eb0d7
Message:

Implement free and total count operation for cdfs and udf filesystem.

File:
1 edited

Legend:

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

    r38eb0d7 r781408e  
    632632}
    633633
     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
    634648libfs_ops_t cdfs_libfs_ops = {
    635649        .root_get = cdfs_root_get,
     
    649663        .is_file = cdfs_is_file,
    650664        .service_get = cdfs_service_get,
    651         .size_block = cdfs_size_block
     665        .size_block = cdfs_size_block,
     666        .total_block_count = cdfs_total_block_count,
     667        .free_block_count = cdfs_free_block_count
    652668};
    653669
Note: See TracChangeset for help on using the changeset viewer.