summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext2fs/ext2fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.c b/ext2fs/ext2fs.c
index 91587b85..6f2aeaab 100644
--- a/ext2fs/ext2fs.c
+++ b/ext2fs/ext2fs.c
@@ -251,8 +251,6 @@ main (int argc, char **argv)
/* Map the entire disk. */
create_disk_pager ();
- pokel_init (&global_pokel, disk_pager->p, disk_image);
-
/* Start the first request thread, to handle RPCs and page requests. */
diskfs_spawn_first_thread ();
@@ -266,6 +264,8 @@ main (int argc, char **argv)
diskfs_register_memory_fault_area (disk_pager->p, 0, disk_image, device_size);
+ pokel_init (&global_pokel, disk_pager->p, disk_image);
+
err = get_hypermetadata();
if (err)
error (3, err, "get_hypermetadata");