Merge branch 'vfs-dev'
[lunaix-os.git] / lunaix-os / kernel / sched.c
index 4a0e254151799fdc6fc32674a36172c890be16c7..f8f00d40a094d62c31976cd4d54ef577673ba6de 100644 (file)
@@ -279,7 +279,7 @@ alloc_process()
     proc->pgid = proc->pid;
     proc->fdtable = vzalloc(sizeof(struct v_fdtable));
 
-    llist_init_head(&proc->mm.regions);
+    llist_init_head(&proc->mm.regions.head);
     llist_init_head(&proc->children);
     llist_init_head(&proc->grp_member);
     llist_init_head(&proc->sleep.sleepers);