Index: uspace/lib/ext2/libext2_block_group.c
===================================================================
--- uspace/lib/ext2/libext2_block_group.c	(revision d241aae2bcae062a85266628d2e2c611d2dee48a)
+++ uspace/lib/ext2/libext2_block_group.c	(revision fca78d43e53ede5204bbb6a1e7c71c0e0efd4556)
@@ -79,4 +79,16 @@
 
 /**
+ * Set amount of free blocks in this block group
+ * 
+ * @param bg pointer to block group descriptor
+ * @param val new value
+ */
+inline void ext2_block_group_set_free_block_count(ext2_block_group_t *bg,
+	uint16_t val)
+{
+	bg->free_block_count = host2uint16_t_le(val);
+}
+
+/**
  * Get amount of free inodes in this block group
  * 
