Changeset cd00f93 in mainline
- Timestamp:
- 2012-02-13T20:23:38Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 856a36b
- Parents:
- 03934c9e
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ext4/libext4_superblock.h
r03934c9e rcd00f93 182 182 183 183 // TODO MODIFY features corresponding with implementation 184 #define EXT4_FEATURE_COMPAT_SUPP EXT4_FEATURE_COMPAT_EXT_ATTR184 #define EXT4_FEATURE_COMPAT_SUPP (EXT4_FEATURE_COMPAT_DIR_INDEX) 185 185 186 186 #define EXT4_FEATURE_INCOMPAT_SUPP (EXT4_FEATURE_INCOMPAT_FILETYPE| \ 187 EXT4_FEATURE_INCOMPAT_RECOVER| \188 EXT4_FEATURE_INCOMPAT_META_BG| \189 187 EXT4_FEATURE_INCOMPAT_EXTENTS| \ 190 EXT4_FEATURE_INCOMPAT_64BIT| \ 191 EXT4_FEATURE_INCOMPAT_FLEX_BG) 192 193 #define EXT4_FEATURE_RO_COMPAT_SUPP (EXT4_FEATURE_RO_COMPAT_SPARSE_SUPER| \ 194 EXT4_FEATURE_RO_COMPAT_LARGE_FILE| \ 195 EXT4_FEATURE_RO_COMPAT_GDT_CSUM| \ 196 EXT4_FEATURE_RO_COMPAT_DIR_NLINK | \ 197 EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE | \ 198 EXT4_FEATURE_RO_COMPAT_BTREE_DIR |\ 199 EXT4_FEATURE_RO_COMPAT_HUGE_FILE) 188 EXT4_FEATURE_INCOMPAT_64BIT) 189 190 #define EXT4_FEATURE_RO_COMPAT_SUPP () 200 191 201 192 -
uspace/srv/fs/ext4fs/ext4fs_ops.c
r03934c9e rcd00f93 210 210 } 211 211 212 212 213 ext4_directory_iterator_t it; 213 214 rc = ext4_directory_iterator_init(&it, fs, eparent->inode_ref, 0); … … 1124 1125 rc = block_get(&write_block, service_id, fblock, flags); 1125 1126 if (rc != EOK) { 1126 EXT4FS_DBG("error in loading block \%d", rc);1127 1127 ext4fs_node_put(fn); 1128 1128 async_answer_0(callid, rc); … … 1136 1136 rc = async_data_write_finalize(callid, write_block->data + (pos % block_size), bytes); 1137 1137 if (rc != EOK) { 1138 // TODO error1139 EXT4FS_DBG("error in write finalize \%d", rc);1138 ext4fs_node_put(fn); 1139 return rc; 1140 1140 } 1141 1141 … … 1144 1144 rc = block_put(write_block); 1145 1145 if (rc != EOK) { 1146 EXT4FS_DBG("error in writing block \%d", rc);1147 1146 ext4fs_node_put(fn); 1148 1147 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.