Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/src/ops.c

    rf783081 r5e801dc  
    810810}
    811811
    812 /** Get service ID for a service-special file.
     812/** Extract device identifier from node.
    813813 *
    814814 * @param node Node to extract id from
    815815 *
    816  * @return Service ID for a service-special file, zero for a regular file.
     816 * @return id of device, where is the filesystem
    817817 *
    818818 */
    819819service_id_t ext4_service_get(fs_node_t *fn)
    820820{
    821         return 0;
     821        ext4_node_t *enode = EXT4_NODE(fn);
     822        return enode->instance->service_id;
    822823}
    823824
Note: See TracChangeset for help on using the changeset viewer.