qio: Allow changing limits dynamically
[akaros.git] / kern / src / vfs.c
index 5005d38..ccd364b 100644 (file)
@@ -88,11 +88,14 @@ void vfs_init(void)
        struct fs_type *fs;
 
        dentry_kcache = kmem_cache_create("dentry", sizeof(struct dentry),
-                                         __alignof__(struct dentry), 0, 0, 0);
+                                         __alignof__(struct dentry), 0,
+                                         NULL, 0, 0, NULL);
        inode_kcache = kmem_cache_create("inode", sizeof(struct inode),
-                                        __alignof__(struct inode), 0, 0, 0);
+                                        __alignof__(struct inode), 0, NULL,
+                                        0, 0, NULL);
        file_kcache = kmem_cache_create("file", sizeof(struct file),
-                                       __alignof__(struct file), 0, 0, 0);
+                                       __alignof__(struct file), 0, NULL, 0,
+                                       0, NULL);
        /* default NS never dies, +1 to exist */
        kref_init(&default_ns.kref, fake_release, 1);
        spinlock_init(&default_ns.lock);