Ignore:
File:
1 edited

Legend:

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

    rd1538a1 r532f53d  
    3939#include <errno.h>
    4040#include <malloc.h>
     41#include <ipc/vfs.h>
    4142#include "libext4.h"
    4243
     
    796797                }
    797798               
    798                 block_put(block);
     799                rc = block_put(block);
     800                if (rc != EOK)
     801                        return rc;
     802
    799803                rc = ext4_balloc_free_block(inode_ref, fblock);
    800804                if (rc != EOK)
     
    840844                                }
    841845                               
    842                                 block_put(subblock);
     846                                rc = block_put(subblock);
     847                                if (rc != EOK)
     848                                        return rc;
    843849                        }
    844850                       
     
    850856                }
    851857               
    852                 block_put(block);
     858                rc = block_put(block);
     859                if (rc != EOK)
     860                        return rc;
     861
    853862                rc = ext4_balloc_free_block(inode_ref, fblock);
    854863                if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.