#include #include "nodelist.h" #include "os-ecos.h" #include "porting.h" time_t cyg_timestamp(void) { return 0; } void jffs2_get_info_from_sb(void * data, struct jffs2_fs_info * info) { struct jffs2_fs_info; struct super_block *jffs2_sb; struct jffs2_sb_info *c; jffs2_sb = (struct super_block *)(data); c = JFFS2_SB_INFO(jffs2_sb); info->sector_size = c->sector_size; info->nr_blocks = c->nr_blocks; info->free_size = c->free_size; //fixme need test! }