Index: uspace/lib/ext4/libext4_ialloc.c
===================================================================
--- uspace/lib/ext4/libext4_ialloc.c	(revision cd1cc4e69812ba2c63ccbb1fed0ac27868c3c577)
+++ uspace/lib/ext4/libext4_ialloc.c	(revision 5c83612bcad479ef7a78fd78f37dc575ee73ec79)
@@ -139,6 +139,4 @@
 	while (bgid < bg_count) {
 
-		EXT4FS_DBG("testing bg \%u", bgid);
-
 		ext4_block_group_ref_t *bg_ref;
 		rc = ext4_filesystem_get_block_group_ref(fs, bgid, &bg_ref);
@@ -169,9 +167,11 @@
 			rc = ext4_bitmap_find_free_bit_and_set(
 					bitmap_block->data, 0, &index_in_group, inodes_in_group);
-//			if (rc == ENOSPC) {
-//				block_put(bitmap_block);
-//				ext4_filesystem_put_block_group_ref(bg_ref);
-//				continue;
-//			}
+
+			// TODO check
+			if (rc == ENOSPC) {
+				block_put(bitmap_block);
+				ext4_filesystem_put_block_group_ref(bg_ref);
+				continue;
+			}
 
 			bitmap_block->dirty = true;
