Changeset 52ff62d3 in mainline
- Timestamp:
- 2013-07-11T19:10:56Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e6edc8d1
- Parents:
- 990ab7d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_ops.c
r990ab7d r52ff62d3 249 249 } 250 250 251 static long udf_size_block(service_id_t service_id) 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 return instance->volumes[DEFAULT_VOL].logical_block_size; 262 } 263 251 264 libfs_ops_t udf_libfs_ops = { 252 265 .root_get = udf_root_get, … … 265 278 .is_directory = udf_is_directory, 266 279 .is_file = udf_is_file, 267 .service_get = udf_service_get 280 .service_get = udf_service_get, 281 .size_block = udf_size_block 268 282 }; 269 283
Note:
See TracChangeset
for help on using the changeset viewer.