Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r44ecf89 rd0a1e9b6  
    9191static bool fat_is_file(fs_node_t *node);
    9292static service_id_t fat_service_get(fs_node_t *node);
     93static uint32_t fat_size_block(service_id_t);
    9394
    9495/*
     
    843844}
    844845
     846uint32_t fat_size_block(service_id_t service_id)
     847{
     848        fat_bs_t *bs;
     849        bs = block_bb_get(service_id);
     850
     851        return BPC(bs);
     852}
     853
    845854/** libfs operations */
    846855libfs_ops_t fat_libfs_ops = {
     
    860869        .is_directory = fat_is_directory,
    861870        .is_file = fat_is_file,
    862         .service_get = fat_service_get
     871        .service_get = fat_service_get,
     872        .size_block = fat_size_block
    863873};
    864874
Note: See TracChangeset for help on using the changeset viewer.