return ENOENT;
}
- return taskfs_mknod(dnode, pid, 0, VFS_IFDIR);
+ return taskfs_mknod(dnode, pid, 0, F_FILE);
}
static struct v_file_ops taskfs_file_ops = { .close = default_file_close,
attr_export_table = vcalloc(ATTR_TABLE_LEN, sizeof(struct hbucket));
export_task_attr();
-}
\ No newline at end of file
+}
+EXPORT_FILE_SYSTEM(taskfs, taskfs_init);
\ No newline at end of file