Changeset d0a1e9b6 in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c
- Timestamp:
- 2013-07-12T07:21:46Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 049d68b
- Parents:
- e8f0158
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs_ops.c
re8f0158 rd0a1e9b6 101 101 static bool ext4fs_is_file(fs_node_t *node); 102 102 static service_id_t ext4fs_service_get(fs_node_t *node); 103 static longext4fs_size_block(service_id_t);104 static longext4fs_total_block(service_id_t);105 static longext4fs_free_block(service_id_t);103 static uint32_t ext4fs_size_block(service_id_t); 104 static uint64_t ext4fs_total_block(service_id_t); 105 static uint64_t ext4fs_free_block(service_id_t); 106 106 107 107 /* Static variables */ … … 841 841 } 842 842 843 longext4fs_size_block(service_id_t service_id)843 uint32_t ext4fs_size_block(service_id_t service_id) 844 844 { 845 845 ext4fs_instance_t *inst; … … 856 856 } 857 857 858 longext4fs_total_block(service_id_t service_id)858 uint64_t ext4fs_total_block(service_id_t service_id) 859 859 { 860 860 ext4fs_instance_t *inst; … … 866 866 867 867 ext4_superblock_t *sb = inst->filesystem->superblock; 868 uint 32_t block_count = ext4_superblock_get_blocks_count(sb);868 uint64_t block_count = ext4_superblock_get_blocks_count(sb); 869 869 870 870 return block_count; 871 871 } 872 872 873 longext4fs_free_block(service_id_t service_id)873 uint64_t ext4fs_free_block(service_id_t service_id) 874 874 { 875 875 ext4fs_instance_t *inst; … … 881 881 882 882 ext4_superblock_t *sb = inst->filesystem->superblock; 883 uint 32_t block_count = ext4_superblock_get_free_blocks_count(sb);883 uint64_t block_count = ext4_superblock_get_free_blocks_count(sb); 884 884 885 885 return block_count;
Note:
See TracChangeset
for help on using the changeset viewer.