Changeset 1df3f57a in mainline


Ignore:
Timestamp:
2012-04-14T17:12:14Z (12 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d2f5148
Parents:
b6d7b7c
Message:

one hotfix in mount + finished doxy comments

File:
1 edited

Legend:

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

    rb6d7b7c r1df3f57a  
    556556        }
    557557
    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
    559560//      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);
    562562        inode_ref->dirty = true;
    563563
     
    896896 * @param service_id    identifier of device
    897897 * @param opts          mount options
    898  * @param index         TODO
    899  * @param size          TODO
    900  * @param lnkcnt        TODO
     898 * @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
    901901 * @return              error code
    902902 */
     
    969969        fibril_mutex_unlock(&instance_list_mutex);
    970970
     971        ext4fs_node_t *enode = EXT4FS_NODE(root_node);
     972
    971973        *index = EXT4_INODE_ROOT_INDEX;
    972         *size = 0;
     974        *size = ext4_inode_get_size(fs->superblock, enode->inode_ref->inode);
    973975        *lnkcnt = 1;
    974976
     
    12751277 * @param index         i-node number of file
    12761278 * @param pos           position in file to start reading from
    1277  * @param wbytes        TODO
    1278  * @param nsize         TODO
     1279 * @param wbytes        output value - real number of written bytes
     1280 * @param nsize         output value - new size of i-node
    12791281 * @return              error code
    12801282 */
Note: See TracChangeset for help on using the changeset viewer.