Changeset 17a0fb8 in mainline
- Timestamp:
- 2013-07-19T22:52:59Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d110908
- Parents:
- f4cbf9dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/fat/fat_ops.c
rf4cbf9dd r17a0fb8 92 92 static service_id_t fat_service_get(fs_node_t *node); 93 93 static uint32_t fat_size_block(service_id_t); 94 static uint64_t fat_total_block_count(service_id_t); 94 95 95 96 /* … … 852 853 } 853 854 855 uint64_t fat_total_block_count(service_id_t service_id) 856 { 857 fat_bs_t *bs; 858 bs = block_bb_get(service_id); 859 860 uint64_t block_count = (SPC(bs)) ? TS(bs) / SPC(bs) : 0; 861 862 return block_count; 863 } 864 854 865 /** libfs operations */ 855 866 libfs_ops_t fat_libfs_ops = { … … 870 881 .is_file = fat_is_file, 871 882 .service_get = fat_service_get, 872 .size_block = fat_size_block 883 .size_block = fat_size_block, 884 .total_block_count = fat_total_block_count 873 885 }; 874 886
Note:
See TracChangeset
for help on using the changeset viewer.