Changeset fd6dc08 in mainline
- Timestamp:
- 2021-10-16T21:48:59Z (3 years ago)
- Children:
- 75357c5
- Parents:
- 0e125698
- Location:
- uspace
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/src/ops.c
r0e125698 rfd6dc08 810 810 } 811 811 812 /** Extract device identifier from node.812 /** Get service ID for a service-special file. 813 813 * 814 814 * @param node Node to extract id from 815 815 * 816 * @return id of device, where is the filesystem816 * @return Service ID for a service-special file, zero for a regular file. 817 817 * 818 818 */ 819 819 service_id_t ext4_service_get(fs_node_t *fn) 820 820 { 821 ext4_node_t *enode = EXT4_NODE(fn); 822 return enode->instance->service_id; 821 return 0; 823 822 } 824 823 -
uspace/srv/fs/fat/fat_ops.c
r0e125698 rfd6dc08 839 839 service_id_t fat_service_get(fs_node_t *fn) 840 840 { 841 return FAT_NODE(fn)->idx->service_id;841 return 0; 842 842 } 843 843 -
uspace/srv/fs/mfs/mfs_ops.c
r0e125698 rfd6dc08 392 392 mfs_service_get(fs_node_t *fsnode) 393 393 { 394 struct mfs_node *node = fsnode->data; 395 return node->instance->service_id; 394 return 0; 396 395 } 397 396 -
uspace/srv/fs/udf/udf_ops.c
r0e125698 rfd6dc08 104 104 static service_id_t udf_service_get(fs_node_t *node) 105 105 { 106 udf_node_t *udfn = UDF_NODE(node);107 if (udfn)108 return udfn->instance->service_id;109 110 106 return 0; 111 107 }
Note:
See TracChangeset
for help on using the changeset viewer.