Changeset 1df3f57a in mainline
- Timestamp:
- 2012-04-14T17:12:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2f5148
- Parents:
- b6d7b7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/ext4fs/ext4fs_ops.c
rb6d7b7c r1df3f57a 556 556 } 557 557 558 // TODO set real deletion time when it will be supported 558 // TODO set real deletion time when it will be supported, 559 // temporary set fake time 559 560 // time_t now = time(NULL); 560 time_t now = ext4_inode_get_change_inode_time(inode_ref->inode); 561 ext4_inode_set_deletion_time(inode_ref->inode, (uint32_t)now); 561 ext4_inode_set_deletion_time(inode_ref->inode, 12345678); 562 562 inode_ref->dirty = true; 563 563 … … 896 896 * @param service_id identifier of device 897 897 * @param opts mount options 898 * @param index TODO899 * @param size TODO900 * @param lnkcnt TODO898 * @param index output value - index of root node 899 * @param size output value - size of root node 900 * @param lnkcnt output value - link count of root node 901 901 * @return error code 902 902 */ … … 969 969 fibril_mutex_unlock(&instance_list_mutex); 970 970 971 ext4fs_node_t *enode = EXT4FS_NODE(root_node); 972 971 973 *index = EXT4_INODE_ROOT_INDEX; 972 *size = 0;974 *size = ext4_inode_get_size(fs->superblock, enode->inode_ref->inode); 973 975 *lnkcnt = 1; 974 976 … … 1275 1277 * @param index i-node number of file 1276 1278 * @param pos position in file to start reading from 1277 * @param wbytes TODO1278 * @param nsize TODO1279 * @param wbytes output value - real number of written bytes 1280 * @param nsize output value - new size of i-node 1279 1281 * @return error code 1280 1282 */
Note:
See TracChangeset
for help on using the changeset viewer.