Changeset b12ca16 in mainline for uspace/srv/fs/ext4fs/ext4fs_ops.c
- Timestamp:
- 2011-11-18T15:30:24Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d5ba17f
- Parents:
- e18de3c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs_ops.c
re18de3c rb12ca16 973 973 if (fblock == 0) { 974 974 975 rc = ext4_b itmap_alloc_block(fs, inode_ref, &fblock);975 rc = ext4_balloc_alloc_block(fs, inode_ref, &fblock); 976 976 if (rc != EOK) { 977 977 EXT4FS_DBG("allocation failed"); … … 981 981 } 982 982 983 ext4_filesystem_set_inode_data_block_index(fs, inode_ref, iblock, fblock); 983 rc = ext4_filesystem_set_inode_data_block_index(fs, inode_ref, iblock, fblock); 984 if (rc != EOK) { 985 EXT4FS_DBG("ERROR: setting index failed"); 986 } 984 987 inode_ref->dirty = true; 985 988 986 989 flags = BLOCK_FLAGS_NOREAD; 987 988 990 } 989 991
Note:
See TracChangeset
for help on using the changeset viewer.