Changeset 781408e in mainline for uspace/srv/fs/udf/udf_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/udf/udf_ops.c

    r38eb0d7 r781408e  
    264264}
    265265
     266static int udf_total_block_count(service_id_t service_id, uint64_t *count)
     267{
     268        *count = 0;
     269       
     270        return EOK;
     271}
     272
     273static int udf_free_block_count(service_id_t service_id, uint64_t *count)
     274{
     275        *count = 0;
     276       
     277        return EOK;
     278}
     279
    266280libfs_ops_t udf_libfs_ops = {
    267281        .root_get = udf_root_get,
     
    281295        .is_file = udf_is_file,
    282296        .service_get = udf_service_get,
    283         .size_block = udf_size_block
     297        .size_block = udf_size_block,
     298        .total_block_count = udf_total_block_count,
     299        .free_block_count = udf_free_block_count
    284300};
    285301
Note: See TracChangeset for help on using the changeset viewer.