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


Ignore:
Timestamp:
2012-02-13T20:23:38Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
856a36b
Parents:
03934c9e
Message:

error hangling in write operation, adjusted supported features for mounting

File:
1 edited

Legend:

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

    r03934c9e rcd00f93  
    210210        }
    211211
     212
    212213        ext4_directory_iterator_t it;
    213214        rc = ext4_directory_iterator_init(&it, fs, eparent->inode_ref, 0);
     
    11241125        rc = block_get(&write_block, service_id, fblock, flags);
    11251126        if (rc != EOK) {
    1126                 EXT4FS_DBG("error in loading block \%d", rc);
    11271127                ext4fs_node_put(fn);
    11281128                async_answer_0(callid, rc);
     
    11361136        rc = async_data_write_finalize(callid, write_block->data + (pos % block_size), bytes);
    11371137        if (rc != EOK) {
    1138                 // TODO error
    1139                 EXT4FS_DBG("error in write finalize \%d", rc);
     1138                ext4fs_node_put(fn);
     1139                return rc;
    11401140        }
    11411141
     
    11441144        rc = block_put(write_block);
    11451145        if (rc != EOK) {
    1146                 EXT4FS_DBG("error in writing block \%d", rc);
    11471146                ext4fs_node_put(fn);
    11481147                return rc;
Note: See TracChangeset for help on using the changeset viewer.