Index: uspace/srv/fs/minixfs/mfs_balloc.c
===================================================================
--- uspace/srv/fs/minixfs/mfs_balloc.c	(revision 2eaf6551d745a806059950cea09d0aaefa6d56aa)
+++ uspace/srv/fs/minixfs/mfs_balloc.c	(revision 365e5e083c400383bdb124d8c5f9d516bcae7476)
@@ -45,5 +45,12 @@
 mfs_alloc_bit(struct mfs_instance *inst, uint32_t *idx, bmap_id_t bid);
 
-
+/**Allocate a new inode.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param inum		Pointer to a 32 bit number where the index of
+ * 			the new inode will be saved.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 int
 mfs_alloc_inode(struct mfs_instance *inst, uint32_t *inum)
@@ -52,4 +59,11 @@
 }
 
+/**Free an inode.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param inum		Number of the inode to free.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 int
 mfs_free_inode(struct mfs_instance *inst, uint32_t inum)
@@ -58,4 +72,12 @@
 }
 
+/**Allocate a new zone.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param zone		Pointer to a 32 bit number where the index
+ * 			of the zone will be saved.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 int
 mfs_alloc_zone(struct mfs_instance *inst, uint32_t *zone)
@@ -67,4 +89,11 @@
 }
 
+/**Free a zone.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param zone		Index of the zone to free.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 int
 mfs_free_zone(struct mfs_instance *inst, uint32_t zone)
@@ -75,4 +104,13 @@
 }
 
+/**Clear a bit in a bitmap.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param idx		Index of the bit to clear.
+ * @param bid		BMAP_ZONE if operating on the zone's bitmap,
+ * 			BMAP_INODE if operating on the inode's bitmap.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 static int
 mfs_free_bit(struct mfs_instance *inst, uint32_t idx, bmap_id_t bid)
@@ -127,4 +165,14 @@
 }
 
+/**Search a free bit in a bitmap and mark it as used.
+ *
+ * @param inst		Pointer to the filesystem instance.
+ * @param idx		Pointer of a 32 bit number where the index
+ * 			of the found bit will be stored.
+ * @param bid		BMAP_ZONE if operating on the zone's bitmap,
+ * 			BMAP_INODE if operating on the inode's bitmap.
+ *
+ * @return		EOK on success or a negative error code.
+ */
 static int
 mfs_alloc_bit(struct mfs_instance *inst, uint32_t *idx, bmap_id_t bid)
