Changeset 5f6168d in mainline for uspace/srv/fs/minixfs/mfs_rw.c


Ignore:
Timestamp:
2011-07-18T19:48:39Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2eaf655
Parents:
9f87b488
Message:

Check the return value of the block_put() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/minixfs/mfs_rw.c

    r9f87b488 r5f6168d  
    311311        memset(b->data, 0, b->size);
    312312        b->dirty = true;
    313         block_put(b);
    314 
    315         return EOK;
     313
     314        return block_put(b);
    316315}
    317316
     
    360359        }
    361360
    362         block_put(b);
    363 
    364         return EOK;
     361        return block_put(b);
    365362}
    366363
     
    389386        }
    390387        b->dirty = true;
    391         block_put(b);
    392         return EOK;
     388
     389        return block_put(b);
    393390}
    394391
Note: See TracChangeset for help on using the changeset viewer.