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

Changeset b741888 in mainline


Ignore:
Timestamp:
2011-12-07T20:13:06Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
055be8a, 190c943
Parents:
78257fe
Message:

exfat: exfat_directory_block_load() should return error if block_put() fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/exfat/exfat_directory.c

    r78257fe rb741888  
    101101{
    102102        uint32_t i;
    103         int rc;
     103        int rc = EOK;
    104104
    105105        i = (di->pos * sizeof(exfat_dentry_t)) / BPS(di->bs);
     
    108108
    109109        if (di->b && di->bnum != i) {
    110                 block_put(di->b);
     110                rc = block_put(di->b);
    111111                di->b = NULL;
    112112        }
     
    126126                di->bnum = i;
    127127        }
    128         return EOK;
     128        return rc;
    129129}
    130130
Note: See TracChangeset for help on using the changeset viewer.