Changeset 951f32ce in mainline


Ignore:
Timestamp:
2013-07-10T21:06:23Z (11 years ago)
Author:
Manuele Conti <conti.ma@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
990ab7d
Parents:
5930e3f
Message:

Add size block operation support for exFat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_ops.c

    r5930e3f r951f32ce  
    8989static bool exfat_is_file(fs_node_t *node);
    9090static service_id_t exfat_service_get(fs_node_t *node);
     91static long exfat_size_block(service_id_t);
    9192
    9293/*
     
    912913}
    913914
     915long exfat_size_block(service_id_t service_id)
     916{
     917        exfat_bs_t *bs;
     918        bs = block_bb_get(service_id);
     919       
     920        return BPC(bs);
     921}
    914922
    915923/** libfs operations */
     
    930938        .is_directory = exfat_is_directory,
    931939        .is_file = exfat_is_file,
    932         .service_get = exfat_service_get
     940        .service_get = exfat_service_get,
     941        .size_block = exfat_size_block
    933942};
    934943
Note: See TracChangeset for help on using the changeset viewer.