Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset adc68de in mainline


Ignore:
Timestamp:
2017-05-16T18:24:13Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
6416ae5
Parents:
7ee7e6a
Message:

Fix CDFS failing to mount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/cdfs/cdfs_ops.c

    r7ee7e6a radc68de  
    10151015    cdfs_lba_t altroot)
    10161016{
    1017         int rc;
    1018        
    10191017        cdfs_node_t *node = CDFS_NODE(rfn);
    10201018       
    1021         rc = iso_read_vol_desc(fs->service_id, altroot, &node->lba,
    1022             &node->size, &fs->enc, &fs->vol_ident);
    1023         if (rc != EOK)
     1019        if (!iso_read_vol_desc(fs->service_id, altroot, &node->lba,
     1020            &node->size, &fs->enc, &fs->vol_ident))
    10241021                return false;
    10251022       
     
    11161113        free(vol_ident);
    11171114       
     1115        block_cache_fini(service_id);
     1116        block_fini(service_id);
    11181117        return EOK;
    11191118}
Note: See TracChangeset for help on using the changeset viewer.