X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=d89f8b00de956c4c6c1881e2a48d42d2325841ff;hp=9d71c2b6b8b67d782d7e79cf323ca339afbcdbce;hb=e39f464748930c5de815c86df43704c6ba84fa0b;hpb=6af811eebaf8da9dbb58be70fbb283ecd95f8a32 diff --git a/yaffs_guts.h b/yaffs_guts.h index 9d71c2b..d89f8b0 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -637,6 +637,7 @@ struct yaffs_dev { struct list_head dev_list; + int ll_init; /* Runtime parameters. Set up by YAFFS. */ int data_bytes_per_chunk; @@ -775,6 +776,7 @@ struct yaffs_dev { u32 n_page_writes; u32 n_page_reads; u32 n_erasures; + u32 n_bad_queries; u32 n_bad_markings; u32 n_erase_failures; u32 n_gc_copies; @@ -853,6 +855,9 @@ int yaffs_rename_obj(struct yaffs_obj *old_dir, const YCHAR * old_name, int yaffs_unlinker(struct yaffs_obj *dir, const YCHAR * name); int yaffs_del_obj(struct yaffs_obj *obj); +struct yaffs_obj *yaffs_retype_obj(struct yaffs_obj *obj, + enum yaffs_obj_type type); + int yaffs_get_obj_name(struct yaffs_obj *obj, YCHAR * name, int buffer_size); loff_t yaffs_get_obj_length(struct yaffs_obj *obj);