mm: Fix type bug
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 7 Mar 2018 23:21:53 +0000 (15:21 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Apr 2018 19:23:01 +0000 (15:23 -0400)
That looks like it was a copy-paste bug from a long time ago.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/mm.c

index 4cb3733..878b49c 100644 (file)
@@ -47,7 +47,7 @@ void vmr_init(void)
 {
        vmr_kcache = kmem_cache_create("vm_regions",
                                       sizeof(struct vm_region),
-                                      __alignof__(struct dentry), 0, NULL,
+                                      __alignof__(struct vm_region), 0, NULL,
                                       0, 0, NULL);
 }