Changeset e5a1ace3 in mainline for uspace/lib/ext4/libext4_extent.c


Ignore:
Timestamp:
2013-11-28T20:40:38Z (11 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1f63d9d
Parents:
532f53d
Message:

libext4: do not ignore error codes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/libext4_extent.c

    r532f53d re5a1ace3  
    794794                       
    795795                        /* Put back not modified old block */
    796                         block_put(path_ptr->block);
     796                        rc = block_put(path_ptr->block);
     797                        if (rc != EOK) {
     798                                ext4_balloc_free_block(inode_ref, fblock);
     799                                return rc;
     800                        }
    797801                       
    798802                        /* Initialize newly allocated block and remember it */
Note: See TracChangeset for help on using the changeset viewer.