Changes in / [2b3e8840:e6edc8d1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf_ops.c
r2b3e8840 re6edc8d1 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.