#include <klibc/stdio.h>
#include <klibc/string.h>
-#include <usr/sys/dirent_defs.h>
+#include <usr/lunaix/dirent_defs.h>
#define COUNTER_MASK ((1 << 16) - 1)
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