Changeset c1f26834 in mainline


Ignore:
Timestamp:
2014-07-28T20:15:13Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
94c49fd3
Parents:
3d35386
Message:

libblock: fix double unlock bug in case block_put() fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/block/block.c

    r3d35386 rc1f26834  
    638638                                 */
    639639                                block->refcnt++;
    640                                 fibril_mutex_unlock(&cache->lock);
    641640
    642641                                if (block->write_failures < MAX_WRITE_RETRIES) {
    643642                                        block->write_failures++;
    644643                                        fibril_mutex_unlock(&block->lock);
     644                                        fibril_mutex_unlock(&cache->lock);
    645645                                        goto retry;
    646646                                } else {
Note: See TracChangeset for help on using the changeset viewer.