Changeset dd0c8a0 in mainline for uspace/srv/fs/udf/udf_ops.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_ops.c
r3deb0155 rdd0c8a0 249 249 } 250 250 251 static int udf_size_block(service_id_t service_id, uint32_t *size) 252 { 253 udf_instance_t *instance; 254 int rc = fs_instance_get(service_id, (void **) &instance); 255 if (rc != EOK) 256 return rc; 257 258 if (NULL == instance) 259 return ENOENT; 260 261 *size = instance->volumes[DEFAULT_VOL].logical_block_size; 262 263 return EOK; 264 } 265 266 static int udf_total_block_count(service_id_t service_id, uint64_t *count) 267 { 268 *count = 0; 269 270 return EOK; 271 } 272 273 static int udf_free_block_count(service_id_t service_id, uint64_t *count) 274 { 275 *count = 0; 276 277 return EOK; 278 } 279 251 280 libfs_ops_t udf_libfs_ops = { 252 281 .root_get = udf_root_get, … … 265 294 .is_directory = udf_is_directory, 266 295 .is_file = udf_is_file, 267 .service_get = udf_service_get 296 .service_get = udf_service_get, 297 .size_block = udf_size_block, 298 .total_block_count = udf_total_block_count, 299 .free_block_count = udf_free_block_count 268 300 }; 269 301
Note:
See TracChangeset
for help on using the changeset viewer.