Changeset 620a367 in mainline


Ignore:
Timestamp:
2011-06-27T21:02:15Z (13 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
298a6ce
Parents:
6d57e1c
Message:

Take care about return value of fat_directory_open

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/fat/fat_ops.c

    r6d57e1c r620a367  
    386386       
    387387        fat_directory_t di;
    388         fat_directory_open(parentp, &di);
     388        rc = fat_directory_open(parentp, &di);
     389        if (rc != EOK)
     390                return rc;
    389391
    390392        while (fat_directory_read(&di, name, &d) == EOK) {
     
    606608        fibril_mutex_lock(&parentp->idx->lock);
    607609        bs = block_bb_get(parentp->idx->devmap_handle);
    608         fat_directory_open(parentp, &di);
     610        rc = fat_directory_open(parentp, &di);
     611        if (rc != EOK)
     612                return rc;
    609613
    610614        /*
Note: See TracChangeset for help on using the changeset viewer.