Index: uspace/lib/ext4/libext4_inode.c
===================================================================
--- uspace/lib/ext4/libext4_inode.c	(revision 2226cc3f54a123ec5232808339e4df519bb96f48)
+++ uspace/lib/ext4/libext4_inode.c	(revision 2add9ec78d3f8c6c2e70a4acf90361a227df135e)
@@ -136,4 +136,9 @@
 }
 
+/** Get time, when i-node was last accessed.
+ *
+ * @param inode		i-node
+ * @return			time of the last access (POSIX)
+ */
 uint32_t ext4_inode_get_access_time(ext4_inode_t *inode)
 {
@@ -141,6 +146,8 @@
 }
 
-/** TODO comment
- *
+/** Set time, when i-node was last accessed.
+ *
+ * @param inode		i-node
+ * @param time		time of the last access (POSIX)
  */
 void ext4_inode_set_access_time(ext4_inode_t *inode, uint32_t time)
@@ -237,6 +244,9 @@
 }
 
-/** TODO comment
- *
+/** Get number of 512-bytes blocks used for i-node.
+ *
+ * @param sb		superblock
+ * @param inode		i-node
+ * @return			number of 512-bytes blocks
  */
 uint64_t ext4_inode_get_blocks_count(ext4_superblock_t *sb, ext4_inode_t *inode)
@@ -258,10 +268,12 @@
 		return uint32_t_le2host(inode->blocks_count_lo);
     }
-
-}
-
-
-/** TODO comment
- *
+}
+
+/** Set number of 512-bytes blocks used for i-node.
+ *
+ * @param sb		superblock
+ * @param inode		i-node
+ * @param count		number of 512-bytes blocks
+ * @return			error code
  */
 int ext4_inode_set_blocks_count(ext4_superblock_t *sb, ext4_inode_t *inode,
@@ -279,4 +291,5 @@
     }
 
+    // Check if there can be used huge files (many blocks)
     if (!ext4_superblock_has_feature_read_only(sb, EXT4_FEATURE_RO_COMPAT_HUGE_FILE)) {
     	return EINVAL;
@@ -320,6 +333,8 @@
 }
 
-/** TODO comment
- *
+/** Get file generation (used by NFS).
+ *
+ * @param inode		i-node
+ * @return			file generation
  */
 uint32_t ext4_inode_get_generation(ext4_inode_t *inode)
@@ -328,6 +343,8 @@
 }
 
-/** TODO comment
- *
+/** Set file generation (used by NFS).
+ *
+ * @param inode			i-node
+ * @param generation	file generation
  */
 void ext4_inode_set_generation(ext4_inode_t *inode, uint32_t generation)
@@ -336,6 +353,9 @@
 }
 
-/** TODO comment
- *
+/** Get address of block, where are extended attributes located.
+ *
+ * @param inode			i-node
+ * @param sb			superblock
+ * @return				block address
  */
 uint64_t ext4_inode_get_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb)
@@ -349,6 +369,9 @@
 }
 
-/** TODO comment
- *
+/** Set address of block, where are extended attributes located.
+ *
+ * @param inode			i-node
+ * @param sb			superblock
+ * @param file_acl		block address
  */
 void ext4_inode_set_file_acl(ext4_inode_t *inode, ext4_superblock_t *sb,
