Index: uspace/lib/ext2/libext2_filesystem.c
===================================================================
--- uspace/lib/ext2/libext2_filesystem.c	(revision 82a3b31fadb5fab16e1ccb42fffae5ec8192d9f8)
+++ uspace/lib/ext2/libext2_filesystem.c	(revision d7c3367c0f6cf7deff74357b6ecff7d79cd6b7fc)
@@ -42,4 +42,5 @@
 #include <malloc.h>
 #include <assert.h>
+#include <byteorder.h>
 
 /**
@@ -369,5 +370,5 @@
 		
 		assert(offset_in_block < block_ids_per_block);
-		current_block = ((uint32_t*)block->data)[offset_in_block];
+		current_block = uint32_t_le2host(((uint32_t*)block->data)[offset_in_block]);
 		
 		rc = block_put(block);
