Changeset ae3d4f8 in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c


Ignore:
Timestamp:
2011-11-20T08:35:56Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe27eb4
Parents:
528e5b3
Message:

superblock update after block (de)allocation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/ext4fs/ext4fs_ops.c

    r528e5b3 rae3d4f8  
    611611        rc = ext4_filesystem_check_sanity(fs);
    612612        if (rc != EOK) {
    613                 ext4_filesystem_fini(fs);
     613                ext4_filesystem_fini(fs, false);
    614614                free(fs);
    615615                free(inst);
     
    620620        rc = ext4_filesystem_check_features(fs, &read_only);
    621621        if (rc != EOK) {
    622                 ext4_filesystem_fini(fs);
     622                ext4_filesystem_fini(fs, false);
    623623                free(fs);
    624624                free(inst);
     
    636636        rc = ext4fs_node_get_core(&root_node, inst, EXT4_INODE_ROOT_INDEX);
    637637        if (rc != EOK) {
    638                 ext4_filesystem_fini(fs);
     638                ext4_filesystem_fini(fs, false);
    639639                free(fs);
    640640                free(inst);
     
    683683        fibril_mutex_unlock(&open_nodes_lock);
    684684
    685         ext4_filesystem_fini(inst->filesystem);
    686 
    687         return EOK;
     685        return ext4_filesystem_fini(inst->filesystem, true);
    688686}
    689687
Note: See TracChangeset for help on using the changeset viewer.